Change sed command for aix
[james-home.git] / bin / fixshebang
blob9831dadd80e5a7edee7a43ef1b8d0790ba123128
1 # Just a quick hack to fix perl shebang.
2 # Really should this properly.
3 SED=$(which sed)
4 ${SED} -e "1d;2s?^?#\!$(which perl)?;2G" ~/bin/mr.in > ~/bin/mr
5 chmod +x ~/bin/mr
6 ${SED} -e "1d;2s?^?#\!$(which perl)?;2G" ~/bin/dircombine.in > ~/bin/dircombine
7 chmod +x ~/bin/dircombine