summaryrefslogtreecommitdiffstats
path: root/php-webmozart-assert2-get-source.sh
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-02-17 14:55:04 +0100
committerRemi Collet <remi@php.net>2026-02-17 14:55:04 +0100
commit6ffe6a25c877c4e4958540c4ccc5a33dd1d8c8ce (patch)
treef1352b4866a622bc0fadc50171fdc783cc5f1fd3 /php-webmozart-assert2-get-source.sh
parente7386785b95566c3e0fb2da705062b7c35f1edb8 (diff)
cleanup
Diffstat (limited to 'php-webmozart-assert2-get-source.sh')
-rwxr-xr-xphp-webmozart-assert2-get-source.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/php-webmozart-assert2-get-source.sh b/php-webmozart-assert2-get-source.sh
index 81a3c06..76e9f57 100755
--- a/php-webmozart-assert2-get-source.sh
+++ b/php-webmozart-assert2-get-source.sh
@@ -63,7 +63,7 @@ pushd $TEMP_DIR
mv $GIT_DIR $TAR_DIR
- TAR_FILE=${SPEC_DIR}/${NAME}-${VERSION}-${GIT_COMMIT}.tar.gz
+ TAR_FILE=${SPEC_DIR}/${NAME}-${VERSION}-${GIT_COMMIT:0:7}.tar.gz
print "TAR_FILE = $TAR_FILE"
[ -e $TAR_FILE ] && rm -f $TAR_FILE