summaryrefslogtreecommitdiffstats
path: root/misc-scripts/make-sourceball
diff options
context:
space:
mode:
Diffstat (limited to 'misc-scripts/make-sourceball')
-rwxr-xr-xmisc-scripts/make-sourceball3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc-scripts/make-sourceball b/misc-scripts/make-sourceball
index 4b6bb5c..4308c0e 100755
--- a/misc-scripts/make-sourceball
+++ b/misc-scripts/make-sourceball
@@ -82,7 +82,6 @@ create_srcpackage() {
/bin/gzip -9 "$logpath/$pkgname"
die "\tFailed to download source for $pkgname-$pkgver-$pkgrel ($reponame-$_arch)"
fi
- popd >/dev/null
/bin/rm "$logpath/$pkgname"
local pkg_file="${pkgname}-${pkgver}-${pkgrel}${SRCEXT}"
@@ -92,6 +91,8 @@ create_srcpackage() {
fi
cp "$pkgname/$pkg_file" "$srcpath"
+ popd >/dev/null
+
return 0
fi
}