diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-01-04 19:14:13 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-01-04 19:14:13 +0100 |
commit | b22e17754905173132458d4101fa876fdec2e2b4 (patch) | |
tree | d6bacdf7c84326e1ae7d903ff3b9905b7aa39f62 /php-di-phpdoc-reader-get-source.sh | |
parent | b274539714bb311576cd156252d746bf57ad1164 (diff) |
php-di-phpdoc-reader: add backport stuff
Diffstat (limited to 'php-di-phpdoc-reader-get-source.sh')
-rwxr-xr-x | php-di-phpdoc-reader-get-source.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php-di-phpdoc-reader-get-source.sh b/php-di-phpdoc-reader-get-source.sh index ba71f5d..48b8385 100755 --- a/php-di-phpdoc-reader-get-source.sh +++ b/php-di-phpdoc-reader-get-source.sh @@ -43,6 +43,7 @@ print "GIT_REPO = $GIT_REPO" print "GIT_DIR = $GIT_DIR" TEMP_DIR=$(mktemp --dir) +TAR_FILE=$PWD/${NAME}-${VERSION}-${GIT_COMMIT}.tar.gz pushd $TEMP_DIR print "Cloning git repo..." @@ -58,7 +59,6 @@ pushd $TEMP_DIR mv $GIT_DIR $TAR_DIR - TAR_FILE=`$RPM --eval='%{_sourcedir}'`/${NAME}-${VERSION}-${GIT_COMMIT}.tar.gz print "TAR_FILE = $TAR_FILE" [ -e $TAR_FILE ] && rm -f $TAR_FILE |