patch-tool-mxe: fix getting patch_name

Previous implementation failed with "set -o nounset":
 ./tools/patch-tool-mxe: line 10: $3: unbound variable

see #983
pull/1016/head
Boris Nagaev 9 years ago
parent 499ae65452
commit baf62f66bb

@ -5,10 +5,7 @@
cmd=$1
pkg=$2
patch_name=$3
if [ -z "$patch_name" ]; then
patch_name=1-fixes
fi
patch_name=${3:-1-fixes}
setupEnv() {
# MXE directory

Loading…
Cancel
Save