Unverified Commit b582e147 authored by Tommaso Tocci's avatar Tommaso Tocci
Browse files

bugfix: dl_script with non-existing output path

The download script do not work if the specified output path
contains more then 1 non-existing folder.
This is due to the -f flag used in the readlink command.
We now use the less strict -m one.
parent fb57de99
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ if [[ -z ${1+x} ]]; then
    usage_short
    exit
fi
SOURCE="$( readlink -f "${1}" )"
SOURCE="$( readlink -mn "${1}" )"

# optional arguments
if [ "${NA_LAYER}" == "" ]; then