summaryrefslogtreecommitdiffstats
path: root/misc-scripts/make-sourceball
diff options
context:
space:
mode:
Diffstat (limited to 'misc-scripts/make-sourceball')
-rwxr-xr-xmisc-scripts/make-sourceball4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc-scripts/make-sourceball b/misc-scripts/make-sourceball
index 012049a..3e0ea8c 100755
--- a/misc-scripts/make-sourceball
+++ b/misc-scripts/make-sourceball
@@ -80,10 +80,10 @@ create_srcpackage() {
local logfile="$logpath/$pkgname-$reponame-$_arch"
if ! /usr/bin/makepkg --allsource --ignorearch >"$logfile" 2>&1; then
popd >/dev/null
- /bin/gzip -9 "$logfile"
+ /bin/gzip -f -9 "$logfile"
die "\tFailed to download source for $pkgname-$pkgver-$pkgrel ($reponame-$_arch)"
fi
- /bin/rm "$logfile"{,.gz}
+ /bin/rm -f "$logfile"{,.gz}
local pkg_file="${pkgname}-${pkgver}-${pkgrel}${SRCEXT}"