summaryrefslogtreecommitdiffstats
path: root/misc-scripts/make-sourceball
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-02-16 06:27:31 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2009-02-16 06:27:31 +0100
commitab56729c8e997a9f49218ac6bf36f07c3316c8e5 (patch)
treee55d8a41fd49f013be7284ae0352bc1b5b9b01b9 /misc-scripts/make-sourceball
parentd9d3bfbb65188b8f20bee9b26e7ac8416a0e4235 (diff)
downloaddbscripts-ab56729c8e997a9f49218ac6bf36f07c3316c8e5.tar.gz
dbscripts-ab56729c8e997a9f49218ac6bf36f07c3316c8e5.tar.xz
make-sourceball: Add -f to gzip and rm
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
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}"