Fix python reference in cjdnsa

This commit is contained in:
Stuart D. Gathman 2018-05-23 14:47:47 -04:00
parent 2d0436cd37
commit 54a6ca2a80

View File

@ -244,6 +244,7 @@ find contrib/python/cjdnsadmin ! -executable -name "*.py" |
xargs sed -e '\,^#!/usr/bin/env, d' -i
find contrib/python -type f |
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
find tools -type f | xargs grep -l '^#!\/usr\/bin\/env ' |