remove trailing slash

This commit is contained in:
Anthony Young 2011-09-26 13:25:11 -07:00
parent 096fb5a86a
commit 01ad91a32f

View file

@ -70,7 +70,7 @@ function git_clone {
# Warm the base image on first install
CACHEDIR=/var/cache/lxc/natty/rootfs-amd64
if [ ! -d $CACHEDIR/ ]; then
if [ ! -d $CACHEDIR ]; then
# by deleting the container, we force lxc-create to re-bootstrap (lxc is
# lazy and doesn't do anything if a container already exists)
lxc-destroy -n $CONTAINER