repo.or.cz
/
james-home.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of https://git.jamestechnotes.com/r/james/home/home
[james-home.git]
/
bin
/
fixshebang
blob
a187339eaaf8046f946547b0ced1385f9c514fd6
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 "1s?^.*\$?#\!$(which perl)?" ~/bin/dircombine.in > ~/bin/dircombine
7
chmod +x ~/bin/dircombine