From d27fae63edf6d4abcb3afdfaf75577a56c09c54a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 24 Jul 2016 07:14:33 +0200 Subject: php-di-invoker: 1.3.3 (backported from Fedora) --- php-di-invoker-get-source.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'php-di-invoker-get-source.sh') 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} -- cgit