Fix creation of source package with local source files
Fixes FS#11149. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
d8f8a12665
commit
57bd8974c7
1 changed files with 1 additions and 1 deletions
|
@ -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}/"
|
||||
|
|
Loading…
Add table
Reference in a new issue