2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

fix paths to LICENSE and NEWS files for macOS packages

This commit is contained in:
Todd C. Miller
2017-05-23 11:52:40 -06:00
parent ad8c1ae07a
commit b53a531cc9

View File

@@ -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"