Commit 6e487488 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack generic.sh: skip links

parent 53594eec
......@@ -18,6 +18,7 @@ for i in lib/python3 lib/python2.7 ; do
done
for i in $BUILDROOT/usr/bin/* ; do
[ -L "$i" ] && continue
[ -f "$i" ] || continue
grep -Eq '^#!/usr/bin/python|^#!/usr/bin/env python' $i && flag_python3=1
subst 's|^#!/usr/bin/python$|#!/usr/bin/python3|' $i
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment