Browse Source

make use of PHPROOT for possible mkdist integration

pull/1456/merge
Anatol Belski 11 years ago
parent
commit
df71933bd2
  1. 7
      scripts/dev/gen_verify_stub

7
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`";

Loading…
Cancel
Save