diff options
author | Anatol Belski <ab@php.net> | 2015-08-10 09:57:05 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-08-10 09:57:05 +0200 |
commit | df71933bd2956867316823d9965d57c021faa585 (patch) | |
tree | 533b62bb6341c6cc160480236cbc431a9cb39fb0 /scripts | |
parent | c0b3665f3735aa8583135528ff6a26ce6c69224d (diff) | |
download | php-git-df71933bd2956867316823d9965d57c021faa585.tar.gz |
make use of PHPROOT for possible mkdist integration
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dev/gen_verify_stub | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/dev/gen_verify_stub b/scripts/dev/gen_verify_stub index e8416b0d0f..e6edb8e993 100755 --- a/scripts/dev/gen_verify_stub +++ b/scripts/dev/gen_verify_stub @@ -18,8 +18,11 @@ then GPG_USER=$2 fi +if test "x$PHPROOT" == "x"; then + PHPROOT=. +fi -for TARBALL in "php-$RELEASE_VER.tar.bz2" "php-$RELEASE_VER.tar.gz" "php-$RELEASE_VER.tar.xz" +for TARBALL in "$PHPROOT/php-$RELEASE_VER.tar.bz2" "$PHPROOT/php-$RELEASE_VER.tar.gz" "$PHPROOT/php-$RELEASE_VER.tar.xz" do if ! [ -e $TARBALL ] then @@ -35,7 +38,7 @@ do fi done -for TARBALL in "php-$RELEASE_VER.tar.bz2" "php-$RELEASE_VER.tar.gz" "php-$RELEASE_VER.tar.xz" +for TARBALL in "$PHPROOT/php-$RELEASE_VER.tar.bz2" "$PHPROOT/php-$RELEASE_VER.tar.gz" "$PHPROOT/php-$RELEASE_VER.tar.xz" do echo $TARBALL echo "SHA256 hash: `sha256sum $TARBALL | cut -d' ' -f1`"; |