diff --git a/packaging/macosx/osx-app.sh.in b/packaging/macosx/osx-app.sh.in index bdf40b6c88..94b4db0a31 100755 --- a/packaging/macosx/osx-app.sh.in +++ b/packaging/macosx/osx-app.sh.in @@ -564,7 +564,7 @@ else fi # File permission sanity check. -if ! badperms=$( find "$bundle" ! -perm -0444 -exec ls -l "{}" + | grep . ) ; then +if badperms=$( find "$bundle" ! -perm -0444 -exec ls -l "{}" + | grep . ) ; then echo "Found files with restrictive permissions:" echo "$badperms" exit 1