From 57e3393b84669b43fcfd76f71f548782b5113246 Mon Sep 17 00:00:00 2001 From: Linux User Date: Sat, 8 Nov 2008 08:39:48 +0000 Subject: [PATCH] create correct links to non-remote sources (patches) if $SRCDEST != $startdir --- abuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 }