From 191d8f04b4c826e0c5fbe509f150ef7198aaf715 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 24 Sep 2018 11:51:33 +0200 Subject: do not fail when python call is ambiguous --- brp-mangle-shebangs | 1 - 1 file changed, 1 deletion(-) diff --git a/brp-mangle-shebangs b/brp-mangle-shebangs index 67a1a7d..ecf8ae7 100755 --- a/brp-mangle-shebangs +++ b/brp-mangle-shebangs @@ -130,7 +130,6 @@ 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" -- cgit v1.2.1