diff options
author | Evan Shelhamer <shelhamer@imaginarynumber.net> | 2014-03-19 22:29:17 -0700 |
---|---|---|
committer | Evan Shelhamer <shelhamer@imaginarynumber.net> | 2014-03-19 22:31:59 -0700 |
commit | 19a7e23cccb1b2f07b61ccbb11341ac85d37b9b1 (patch) | |
tree | f7a0f7af7a27f8fcb4937a2fca80d9a94f5c95ac /data | |
parent | aa0a52f9e6ca2e4499bb30f13af844aa94ebdae4 (diff) | |
download | caffeonacl-19a7e23cccb1b2f07b61ccbb11341ac85d37b9b1.tar.gz caffeonacl-19a7e23cccb1b2f07b61ccbb11341ac85d37b9b1.tar.bz2 caffeonacl-19a7e23cccb1b2f07b61ccbb11341ac85d37b9b1.zip |
fix script path incantation
Diffstat (limited to 'data')
-rwxr-xr-x | data/cifar10/get_cifar10.sh | 2 | ||||
-rwxr-xr-x | data/ilsvrc12/get_ilsvrc_aux.sh | 2 | ||||
-rwxr-xr-x | data/mnist/get_mnist.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/data/cifar10/get_cifar10.sh b/data/cifar10/get_cifar10.sh index 23e09eed..623c8485 100755 --- a/data/cifar10/get_cifar10.sh +++ b/data/cifar10/get_cifar10.sh @@ -1,7 +1,7 @@ #!/usr/bin/env sh # This scripts downloads the CIFAR10 (binary version) data and unzips it. -DIR="$(readlink -f $(dirname "$0"))" +DIR="$( cd "$(dirname "$0")" ; pwd -P )" cd $DIR echo "Downloading..." diff --git a/data/ilsvrc12/get_ilsvrc_aux.sh b/data/ilsvrc12/get_ilsvrc_aux.sh index dad17ff0..b8b4944b 100755 --- a/data/ilsvrc12/get_ilsvrc_aux.sh +++ b/data/ilsvrc12/get_ilsvrc_aux.sh @@ -6,7 +6,7 @@ # - synset ids and words # - the training splits with labels -DIR="$(readlink -f $(dirname "$0"))" +DIR="$( cd "$(dirname "$0")" ; pwd -P )" cd $DIR echo "Downloading..." diff --git a/data/mnist/get_mnist.sh b/data/mnist/get_mnist.sh index 9ece28f7..8eb6aeed 100755 --- a/data/mnist/get_mnist.sh +++ b/data/mnist/get_mnist.sh @@ -1,7 +1,7 @@ #!/usr/bin/env sh # This scripts downloads the mnist data and unzips it. -DIR="$(readlink -f $(dirname "$0"))" +DIR="$( cd "$(dirname "$0")" ; pwd -P )" cd $DIR echo "Downloading..." |