repo.or.cz
/
phpv.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Genericize paths.
[phpv.git]
/
bin
/
phpv-cgi
blob
f9d6ace919610e2b050a2e2e0954ca2f0ba07782
1
#!/bin/bash
2
VERSION
=
"
$1
"
3
if
[
"
$VERSION
"
=
""
]
4
then
5
echo
"Usage: phpv-cgi version ..."
6
exit
7
fi
8
shift
1
9
"`dirname "
$0
"`/../versions/
$VERSION
/bin/php-cgi"
$@