diff options
| author | Tuomas Jaakola <tuomas.jaakola@iki.fi> | 2017-01-29 03:32:27 +0200 |
|---|---|---|
| committer | Timo Teräs <timo.teras@iki.fi> | 2017-01-31 10:21:13 +0200 |
| commit | 520cc15fe99e8b4d657bc8e354ae484eb80591c0 (patch) | |
| tree | 7d120ab7767943f2f1b0dc4a31af7151a4f6bfbe | |
| parent | 14f8fcfb372f9f9ab877c33f309431aa2043c097 (diff) | |
| download | abuild-520cc15fe99e8b4d657bc8e354ae484eb80591c0.tar.bz2 abuild-520cc15fe99e8b4d657bc8e354ae484eb80591c0.tar.xz | |
abuild: support local archives
| -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..." |
