diff options
| author | Linux User <ncopa@buildozer.(none)> | 2008-11-08 08:39:48 +0000 |
|---|---|---|
| committer | Linux User <ncopa@buildozer.(none)> | 2008-11-08 08:39:48 +0000 |
| commit | 57e3393b84669b43fcfd76f71f548782b5113246 (patch) | |
| tree | 0b1d8442716998235a04364ace4e44427b0577b8 | |
| parent | 6271e6b8885c70b3167866ce99954998b7b65825 (diff) | |
| download | abuild-57e3393b84669b43fcfd76f71f548782b5113246.tar.bz2 abuild-57e3393b84669b43fcfd76f71f548782b5113246.tar.xz | |
create correct links to non-remote sources (patches) if $SRCDEST != $startdir
| -rwxr-xr-x | abuild | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 } |
