summaryrefslogtreecommitdiffstats
path: root/php-zendframework-zend-diactoros-get-source.sh
diff options
context:
space:
mode:
Diffstat (limited to 'php-zendframework-zend-diactoros-get-source.sh')
-rwxr-xr-xphp-zendframework-zend-diactoros-get-source.sh2
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