From eb21e9eb93a0e479e846ee5e415c9fdf7d74797b Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 25 Mar 2015 13:55:34 +0100 Subject: fix source package signing with SRCPKGDIR set Signed-off-by: Christian Hesse Signed-off-by: Allan McRae --- scripts/makepkg.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 9d4ce552..24289071 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -2393,8 +2393,8 @@ create_srcpackage() { ln -s "${pkg_file}" "${pkg_file/$SRCPKGDEST/$startdir}" ret=$? if [[ -f $pkg_file.sig ]]; then - rm -f "${pkg_file/$PKGDEST/$startdir}.sig" - ln -s "$pkg_file.sig" "${pkg_file/$PKGDEST/$startdir}.sig" + rm -f "${pkg_file/$SRCPKGDEST/$startdir}.sig" + ln -s "$pkg_file.sig" "${pkg_file/$SRCPKGDEST/$startdir}.sig" fi fi -- cgit v1.2.3-24-g4f1b