diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-07-24 07:14:33 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-07-24 07:14:33 +0200 |
commit | d27fae63edf6d4abcb3afdfaf75577a56c09c54a (patch) | |
tree | d8cfda9819502fa66ad3410a735a0d9a100143c4 /php-di-invoker-get-source.sh | |
parent | de7844f90611402fcc26ecfbebf5d295b80d038f (diff) |
php-di-invoker: 1.3.3 (backported from Fedora)
Diffstat (limited to 'php-di-invoker-get-source.sh')
-rwxr-xr-x | php-di-invoker-get-source.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/php-di-invoker-get-source.sh b/php-di-invoker-get-source.sh index 48b8385..9399d7f 100755 --- a/php-di-invoker-get-source.sh +++ b/php-di-invoker-get-source.sh @@ -44,6 +44,7 @@ print "GIT_DIR = $GIT_DIR" TEMP_DIR=$(mktemp --dir) TAR_FILE=$PWD/${NAME}-${VERSION}-${GIT_COMMIT}.tar.gz +CMP_FILE=$PWD/composer.json pushd $TEMP_DIR print "Cloning git repo..." @@ -52,6 +53,7 @@ pushd $TEMP_DIR pushd $GIT_DIR print "Checking out commit..." $GIT checkout $GIT_COMMIT + cp composer.json $CMP_FILE popd TAR_DIR=${GIT_NAME}-${GIT_COMMIT} |