Initial commit.
[phpv.git] / fix-cgi.sh
blobac0620c492b831b36c81c6c77cc02b4b971e7b83
1 #!/bin/bash
2 set -e
3 VERSION="$1"
4 BIN="versions/$VERSION/bin"
5 mv "$BIN/php" "$BIN/php-cgi"
6 mv "working/php-$VERSION/sapi/cli/php" "$BIN/php"
7 versions/$VERSION/bin/php --version