Support spaces in path when downloading ILSVRC12 and MNIST
authorMalte Stær Nissen <nissen@di.ku.dk>
Wed, 13 Jul 2016 09:17:54 +0000 (11:17 +0200)
committerMalte Stær Nissen <nissen@di.ku.dk>
Wed, 13 Jul 2016 09:20:04 +0000 (11:20 +0200)
data/ilsvrc12/get_ilsvrc_aux.sh
data/mnist/get_mnist.sh

index 90935f2..dc0d0a7 100755 (executable)
@@ -8,7 +8,7 @@
 # - the training splits with labels
 
 DIR="$( cd "$(dirname "$0")" ; pwd -P )"
-cd $DIR
+cd "$DIR"
 
 echo "Downloading..."
 
index 6d87521..ecadffa 100755 (executable)
@@ -2,7 +2,7 @@
 # This scripts downloads the mnist data and unzips it.
 
 DIR="$( cd "$(dirname "$0")" ; pwd -P )"
-cd $DIR
+cd "$DIR"
 
 echo "Downloading..."