Browse code

remove trailing slash

Anthony Young authored on 2011/09/27 05:25:11
Showing 1 changed files
... ...
@@ -70,7 +70,7 @@ function git_clone {
70 70
 
71 71
 # Warm the base image on first install
72 72
 CACHEDIR=/var/cache/lxc/natty/rootfs-amd64
73
-if [ ! -d $CACHEDIR/ ]; then
73
+if [ ! -d $CACHEDIR ]; then
74 74
     # by deleting the container, we force lxc-create to re-bootstrap (lxc is
75 75
     # lazy and doesn't do anything if a container already exists)
76 76
     lxc-destroy -n $CONTAINER