Commit 520cc15f authored by Tuomas Jaakola's avatar Tuomas Jaakola Committed by Timo Teräs
Browse files

abuild: support local archives

parent 14f8fcfb
...@@ -388,7 +388,12 @@ default_unpack() { ...@@ -388,7 +388,12 @@ default_unpack() {
fi fi
mkdir -p "$srcdir" mkdir -p "$srcdir"
for u in $source; do for u in $source; do
local s="$SRCDEST/$(filename_from_uri $u)" local s
if is_remote "$u"; then
s="$SRCDEST/$(filename_from_uri $u)"
case "$s" in case "$s" in
*.tar) *.tar)
msg "Unpacking $s..." msg "Unpacking $s..."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment