From ab56729c8e997a9f49218ac6bf36f07c3316c8e5 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Sun, 15 Feb 2009 21:27:31 -0800 Subject: make-sourceball: Add -f to gzip and rm Signed-off-by: Aaron Griffin --- misc-scripts/make-sourceball | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc-scripts/make-sourceball') 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}" -- cgit v1.2.3-24-g4f1b