diff --git a/.astyle/astyle-wrap.sh b/.astyle/astyle-wrap.sh index d86713422..488611822 100755 --- a/.astyle/astyle-wrap.sh +++ b/.astyle/astyle-wrap.sh @@ -39,6 +39,6 @@ die() { set -x -[ -z `$@` ] || { - [ $@ =~ .*dry-run.* ] || die +[ -z "`$@`" ] || { + [ "$3" != "--dry-run" ] || die }