diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-08-11 13:37:29 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-08-11 13:37:29 +0200 |
commit | 42d6405d95346a6f4fb870de35fc6c41b125e759 (patch) | |
tree | a919fb182d34928be89381e1e4352d2c5199384b /php-zendframework-zend-diactoros-get-source.sh | |
parent | 76f642441f458d5feafd50a6b03e769e99821ca1 (diff) |
php-zendframework-zend-diactoros: 1.1.3
Diffstat (limited to 'php-zendframework-zend-diactoros-get-source.sh')
-rwxr-xr-x | php-zendframework-zend-diactoros-get-source.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php-zendframework-zend-diactoros-get-source.sh b/php-zendframework-zend-diactoros-get-source.sh index ba71f5d..843c93c 100755 --- a/php-zendframework-zend-diactoros-get-source.sh +++ b/php-zendframework-zend-diactoros-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 pushd $TEMP_DIR print "Cloning git repo..." $GIT clone $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 |