From 57bd8974c73571d827617f4df0a6917f13696493 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sat, 9 Aug 2008 15:54:29 +1000 Subject: Fix creation of source package with local source files Fixes FS#11149. Signed-off-by: Allan McRae --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 3604d104..c5dbed9f 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}/" -- cgit v1.2.3-24-g4f1b