Fixes FS#11149.

Signed-off-by: Allan McRae <[EMAIL PROTECTED]>
---
 scripts/makepkg.sh.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 3604d10..c5dbed9 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -957,7 +957,7 @@ create_srcpackage() {
                local file=$(strip_url "$netfile")
                if [ -f "$netfile" ]; then
                        msg2 "$(gettext "Adding %s...")" "$netfile"
-                       ln -s $netfile "${srclinks}/${pkgname}"
+                       ln -s "${startdir}/$netfile" "${srclinks}/${pkgname}"
                elif [ "$SOURCEONLY" = "2" -a -f "$SRCDEST/$file" ]; then
                        msg2 "$(gettext "Adding %s...")" "$file"
                        ln -s "$SRCDEST/$file" "${srclinks}/${pkgname}/"
-- 
1.5.6.5

_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev

Reply via email to