summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
Diffstat (limited to 'abuild.in')
-rw-r--r--abuild.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index aa1fe09..ce3cf8b 100644
--- a/abuild.in
+++ b/abuild.in
@@ -388,7 +388,12 @@ default_unpack() {
fi
mkdir -p "$srcdir"
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)"
+ else
+ s="$startdir/$u"
+ fi
case "$s" in
*.tar)
msg "Unpacking $s..."