diff options
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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..." |