From 42d6405d95346a6f4fb870de35fc6c41b125e759 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 11 Aug 2015 13:37:29 +0200 Subject: php-zendframework-zend-diactoros: 1.1.3 --- php-zendframework-zend-diactoros-get-source.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'php-zendframework-zend-diactoros-get-source.sh') 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 -- cgit