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
updates
[james-home.git]
/
bin
/
fix-perl-shebang
blob
25e5130b6ab66bc2fe6b12216c15ffbc5671887c
1
#!/bin/sh
2
PERL
=
$
(
which
perl
)
3
REALCMD
=
"$(dirname
${0}
)/$(basename
${0}
).real"
4
set -f
# turn off globbing to pass args
5
[
-x
${PERL} ] && [ -x ${REALCMD} ] && exec ${PERL} ${REALCMD}
$
*
6
exit
111