syntax fix

This commit is contained in:
rasbt 2014-05-21 17:49:47 -04:00
parent f71bcde1b3
commit 759ef2dcf6

View File

@ -9,9 +9,8 @@
# prepends !#/usr/bin/python to all .py files
python_ver=$(which python)
find ./ -maxdepth 1 -name "*.py" -exec sed -i.bak '1i\
#!/usr/bin/env/python"$python_ver"
#!'"$(which python)"'
' {} \;
# removes temporary files