From: Edward Z. Yang Date: Thu, 19 Feb 2009 22:51:14 +0000 (-0500) Subject: Don't make spurious version directories, and fix update-dev script. X-Git-Url: https://repo.or.cz/w/phpv.git/commitdiff_plain/c57e96b30eeeb0eff13d63d09ee6c0fc71ebbe35 Don't make spurious version directories, and fix update-dev script. Signed-off-by: Edward Z. Yang --- diff --git a/install.sh b/install.sh index 42dfd5e..bc4f0e5 100755 --- a/install.sh +++ b/install.sh @@ -2,10 +2,10 @@ set -e VERSION="$1" URL=$(php get-url.php "$VERSION") -mkdir "versions/$VERSION" cd working wget $URL -O "php-$VERSION.tar.gz" tar xzf "php-$VERSION.tar.gz" +mkdir "../versions/$VERSION" cd "php-$VERSION" ./configure --prefix=/home/ezyang/Dev/php/versions/$VERSION make diff --git a/update-dev.sh b/update-dev.sh index a2b5276..032a098 100755 --- a/update-dev.sh +++ b/update-dev.sh @@ -1,6 +1,6 @@ #!/bin/bash set -e -cd "working/$1" +cd "working/php-$1-dev" cvs up ./config.nice make