diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-23 09:43:57 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-23 09:43:57 +0000 |
commit | 3f70619ab971cd3a7a3f547333d6da079d09418d (patch) | |
tree | 945ae2030f5dde59445e4648452ee88e548c0c53 /main/abuild/0001-abuild-add-support-for-uncompressed-tar-archives.patch | |
parent | 92877b05d2d48265112d26bfd747d523dab2a9ae (diff) | |
download | aports-3f70619ab971cd3a7a3f547333d6da079d09418d.tar.bz2 aports-3f70619ab971cd3a7a3f547333d6da079d09418d.tar.xz |
main/abuild: add support for unpacking uncompressed tar archives
Diffstat (limited to 'main/abuild/0001-abuild-add-support-for-uncompressed-tar-archives.patch')
-rw-r--r-- | main/abuild/0001-abuild-add-support-for-uncompressed-tar-archives.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/main/abuild/0001-abuild-add-support-for-uncompressed-tar-archives.patch b/main/abuild/0001-abuild-add-support-for-uncompressed-tar-archives.patch new file mode 100644 index 0000000000..6ae675218a --- /dev/null +++ b/main/abuild/0001-abuild-add-support-for-uncompressed-tar-archives.patch @@ -0,0 +1,26 @@ +From a5f67dcf25fae7c0200298623cccb61d9275fd28 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Wed, 23 May 2012 09:42:27 +0000 +Subject: [PATCH] abuild: add support for uncompressed tar archives + +--- + abuild.in | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/abuild.in b/abuild.in +index 2780d2e..32dd153 100755 +--- a/abuild.in ++++ b/abuild.in +@@ -404,6 +404,9 @@ default_unpack() { + for u in $source; do + local s="$SRCDEST/${u##*/}" # $(basename $s) + case "$s" in ++ *.tar) ++ msg "Unpacking $s..." ++ tar -C "$srcdir" -xf "$s" || return 1;; + *.tar.gz|*.tgz) + msg "Unpacking $s..." + tar -C "$srcdir" -zxf "$s" || return 1;; +-- +1.7.10.2 + |