summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xabuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/abuild b/abuild
index e43938f..f18d7c0 100755
--- a/abuild
+++ b/abuild
@@ -102,9 +102,12 @@ fetch() {
case "$s" in
http://*|ftp://*)
uri_fetch "$s" || return 1
+ ln -sf "$SRCDEST/${s##*/}" "$srcdir"/
+ ;;
+ *)
+ ln -s "$startdir/$s" "$srcdir/"
;;
esac
- ln -sf "$SRCDEST/${s##*/}" "$srcdir"/
done
}