summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-08-18 23:44:13 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-08-18 23:45:33 +0200
commit8a4680cc74c62d348e5c428f3888e0df6b9a0738 (patch)
treed36f698c7591a4465400008588488b19697a7a87
parentb874a4c8cd34c46774de06b60bdbc82b514c3e7f (diff)
downloadabuild-8a4680cc74c62d348e5c428f3888e0df6b9a0738.tar.gz
abuild-8a4680cc74c62d348e5c428f3888e0df6b9a0738.tar.bz2
abuild-8a4680cc74c62d348e5c428f3888e0df6b9a0738.tar.xz
abuild-8a4680cc74c62d348e5c428f3888e0df6b9a0738.zip
abuild: don't overwrite existing files when using unzip in unpack
Default is asking for each file.
-rw-r--r--abuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index 3e41eac..f60d624 100644
--- a/abuild.in
+++ b/abuild.in
@@ -401,7 +401,7 @@ default_unpack() {
unxz -c "$s" | tar -C "$srcdir" -x || return 1;;
*.zip)
msg "Unpacking $s..."
- unzip -q "$s" -d "$srcdir" || return 1;;
+ unzip -n -q "$s" -d "$srcdir" || return 1;;
esac
done
}