mirror of
https://github.com/php/php-src.git
synced 2025-01-23 20:23:31 +08:00
make use of PHPROOT for possible mkdist integration
This commit is contained in:
parent
c0b3665f37
commit
df71933bd2
@ -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…
Reference in New Issue
Block a user