diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-02-16 06:27:31 +0100 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-02-16 06:27:31 +0100 |
commit | ab56729c8e997a9f49218ac6bf36f07c3316c8e5 (patch) | |
tree | e55d8a41fd49f013be7284ae0352bc1b5b9b01b9 /misc-scripts | |
parent | d9d3bfbb65188b8f20bee9b26e7ac8416a0e4235 (diff) | |
download | dbscripts-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')
-rwxr-xr-x | misc-scripts/make-sourceball | 4 |
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}" |