diff options
Diffstat (limited to 'data/cifar10/get_cifar10.sh')
-rwxr-xr-x | data/cifar10/get_cifar10.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/cifar10/get_cifar10.sh b/data/cifar10/get_cifar10.sh index ac72b1fd..ea99893e 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="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +DIR="$(readlink -f $(dirname "$0"))" cd $DIR echo "Downloading..." |