This commit is contained in:
Marc Wäckerlin
2018-04-18 11:41:51 +02:00
parent 6a963eea34
commit c3ee785af6

View File

@@ -99,7 +99,7 @@ if test -z "${DESTINATION}"; then
echo "ERROR: no destination specified, try $0 --help" 1>&2 echo "ERROR: no destination specified, try $0 --help" 1>&2
exit 1 exit 1
fi fi
if $dryrun -eq 0 && ! ( test -d "${DESTINATION}" || mkdir -p "${DESTINATION}" ); then if test "$dryrun" -eq 0 && ! ( test -d "${DESTINATION}" || mkdir -p "${DESTINATION}" ); then
echo "ERROR: cannot create destination path '$DESTINATION', try $0 --help" 1>&2 echo "ERROR: cannot create destination path '$DESTINATION', try $0 --help" 1>&2
exit 1 exit 1
fi fi