summaryrefslogtreecommitdiffstats
path: root/php-webmozart-assert2-get-source.sh
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-12-25 09:44:04 +0100
committerRemi Collet <remi@php.net>2025-12-25 09:44:04 +0100
commitedd741cb23e28055829ca960b28df2d697c3de8a (patch)
tree6ebd6f934d759b0c66706642a77b1531010d345b /php-webmozart-assert2-get-source.sh
parentf9d80ff7e7375a6703071f2fb6a54d262e082e49 (diff)
update to 2.0.0
rename to php-webmozart-assert2 install in /usr/share/php/Webmozart/Assert2 raise dependency on PHP 8.2
Diffstat (limited to 'php-webmozart-assert2-get-source.sh')
-rwxr-xr-xphp-webmozart-assert2-get-source.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/php-webmozart-assert2-get-source.sh b/php-webmozart-assert2-get-source.sh
index b2ac62b..81a3c06 100755
--- a/php-webmozart-assert2-get-source.sh
+++ b/php-webmozart-assert2-get-source.sh
@@ -54,7 +54,8 @@ pushd $TEMP_DIR
pushd $GIT_DIR
print "Checking out commit..."
- $GIT checkout $GIT_COMMIT
+ $GIT checkout $GIT_COMMIT || exit 1
+ cp composer.json ${SPEC_DIR}
popd
TAR_DIR=${GIT_NAME}-${GIT_COMMIT}