mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-24 16:02:23 +00:00
unpack .tgz source files
This commit is contained in:
parent
ed9f3ec342
commit
45ff2bfefe
2
abuild
2
abuild
@ -101,7 +101,7 @@ unpack() {
|
|||||||
for u in $source; do
|
for u in $source; do
|
||||||
local s="$SRCDEST/${u##*/}" # $(basename $s)
|
local s="$SRCDEST/${u##*/}" # $(basename $s)
|
||||||
case "$s" in
|
case "$s" in
|
||||||
*.tar.gz)
|
*.tar.gz|*.tgz)
|
||||||
tar -C "$srcdir" -zxf "$s" || return 1;;
|
tar -C "$srcdir" -zxf "$s" || return 1;;
|
||||||
*.tar.bz2)
|
*.tar.bz2)
|
||||||
tar -C "$srcdir" -jxf "$s" || return 1;;
|
tar -C "$srcdir" -jxf "$s" || return 1;;
|
||||||
|
Loading…
Reference in New Issue
Block a user