Fix python reference in cjdnsa
This commit is contained in:
parent
2d0436cd37
commit
54a6ca2a80
@ -244,6 +244,7 @@ find contrib/python/cjdnsadmin ! -executable -name "*.py" |
|
|||||||
xargs sed -e '\,^#!/usr/bin/env, d' -i
|
xargs sed -e '\,^#!/usr/bin/env, d' -i
|
||||||
find contrib/python -type f |
|
find contrib/python -type f |
|
||||||
xargs sed -e '1 s,^#!/usr/bin/env ,#!/usr/bin/,' -i
|
xargs sed -e '1 s,^#!/usr/bin/env ,#!/usr/bin/,' -i
|
||||||
|
sed -e '$ s,^python ,/usr/bin/python2 ,' -i contrib/python/cjdnsa
|
||||||
|
|
||||||
# Remove #!env from nodejs scripts
|
# Remove #!env from nodejs scripts
|
||||||
find tools -type f | xargs grep -l '^#!\/usr\/bin\/env ' |
|
find tools -type f | xargs grep -l '^#!\/usr\/bin\/env ' |
|
||||||
|
Loading…
Reference in New Issue
Block a user