diff options
-rwxr-xr-x | brp-mangle-shebangs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/brp-mangle-shebangs b/brp-mangle-shebangs index ecf8ae7..67a1a7d 100755 --- a/brp-mangle-shebangs +++ b/brp-mangle-shebangs @@ -130,6 +130,7 @@ while IFS= read -r -d $'\0' f; do if [ "$shebang" != "$py_shebang" ]; then echo >&2 "*** ERROR: ambiguous python shebang in $path: #!$orig_shebang. Change it to python3 (or python2) explicitly." + fail=1 elif [ "#!$shebang" != "#!$orig_shebang" ]; then sed -i -e "1c #!$shebang" "$f" echo "mangling shebang in $path from $orig_shebang to #!$shebang" |