We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c146b29 + a512ee0 commit e529213Copy full SHA for e529213
flavor.in
@@ -131,7 +131,7 @@ done
131
%#FLAVOR#_fix_shebang_path(+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-=) \
132
myargs="%{**}" \
133
for f in ${myargs}; do \
134
- [ -f $f ] && sed -i "1s@#\\!.*python\\S*@#\\!$(realpath %__#FLAVOR#)@" $f \
+ [ -f "$f" -a -x "$f" ] && sed -i "1s@#\\!.*python\\S*@#\\!$(realpath %__#FLAVOR#)@" "$f" \
135
done
136
137
# Alternative entries in file section
0 commit comments