remove trailing slash
diff --git a/build_lxc.sh b/build_lxc.sh
index c24539e..3d0ad89 100755
--- a/build_lxc.sh
+++ b/build_lxc.sh
@@ -70,7 +70,7 @@
 
 # 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