missed that one { } if works on Cygwin
This commit is contained in:
Reto Kromer 2016-07-25 17:57:37 +02:00 committed by GitHub
parent 0c4bf9aa61
commit 654120caf1

View File

@ -59,7 +59,7 @@ elif [ "${#}" -eq 2 ]; then
else
unset md5_tmp
if [[ $OSTYPE == "cygwin" ]]; then
md5_tmp=""${USERPROFILE}/$(basename $2).tmp""
md5_tmp=""${USERPROFILE}/$(basename ${2}).tmp""
else
md5_tmp="${HOME}/$(basename ${2}).tmp"
fi