summaryrefslogtreecommitdiffstats
path: root/php-webmozart-assert2-get-source.sh
diff options
context:
space:
mode:
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