diff options
Diffstat (limited to 'debian/patches/32-fix-wihack-bashism.patch')
-rw-r--r-- | debian/patches/32-fix-wihack-bashism.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/32-fix-wihack-bashism.patch b/debian/patches/32-fix-wihack-bashism.patch new file mode 100644 index 0000000..7b7646f --- /dev/null +++ b/debian/patches/32-fix-wihack-bashism.patch @@ -0,0 +1,18 @@ +--- a/cmd/wihack.sh ++++ b/cmd/wihack.sh +@@ -7,12 +7,12 @@ + exit 1 + } + +-checkarg='[ ${#@} -gt 0 ] || usage' ++checkarg='[ $# -gt 0 ] || usage' + export WMII_HACK_TIME=$(date +%s) + +-while [ ${#@} -gt 0 ] ++while [ "$1" != "" ] + do +- case $1 in ++ case "$1" in + -transient) + shift; eval $checkarg + export WMII_HACK_TRANSIENT=$1 |