From: Todd C. Miller Date: Tue, 23 May 2017 17:52:40 +0000 (-0600) Subject: fix paths to LICENSE and NEWS files for macOS packages X-Git-Tag: SUDO_1_8_21^2~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b53a531cc9383bcf9198b59893c259c8a2dfd698;p=sudo fix paths to LICENSE and NEWS files for macOS packages --- diff --git a/sudo.pp b/sudo.pp index 308ac2ebc..bd08d101c 100644 --- a/sudo.pp +++ b/sudo.pp @@ -272,9 +272,9 @@ still allow people to get their work done." %if [macos] pp_macos_pkg_type=flat pp_macos_bundle_id=ws.sudo.pkg.sudo - pp_macos_pkg_license=doc/LICENSE + pp_macos_pkg_license=$docdir/LICENSE pp_macos_pkg_readme=${pp_wrkdir}/ReadMe.txt - perl -pe 'last if (/^What/i && $seen++)' NEWS > ${pp_wrkdir}/ReadMe.txt + perl -pe 'last if (/^What/i && $seen++)' $docdir/NEWS > ${pp_wrkdir}/ReadMe.txt %endif %if X"$aix_freeware" = X"true"