summaryrefslogtreecommitdiffstats
path: root/php-mnapoli-phpunit-easymock-get-source.sh
diff options
context:
space:
mode:
Diffstat (limited to 'php-mnapoli-phpunit-easymock-get-source.sh')
-rwxr-xr-xphp-mnapoli-phpunit-easymock-get-source.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/php-mnapoli-phpunit-easymock-get-source.sh b/php-mnapoli-phpunit-easymock-get-source.sh
index ba71f5d..48b8385 100755
--- a/php-mnapoli-phpunit-easymock-get-source.sh
+++ b/php-mnapoli-phpunit-easymock-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