make use of PHPROOT for possible mkdist integration

This commit is contained in:
Anatol Belski 2015-08-10 09:57:05 +02:00
parent c0b3665f37
commit df71933bd2

View File

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