From 2ed7f2dd949337044cee5feff5f15a312cc99ff4 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 18 Feb 2015 16:17:24 -0700 Subject: [PATCH] Fix packaging of the example dir. --- sudo.pp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sudo.pp b/sudo.pp index 3dc7b019e..03b926c21 100644 --- a/sudo.pp +++ b/sudo.pp @@ -227,7 +227,7 @@ still allow people to get their work done." # Package parent directories when not installing under /usr if test "${prefix}" != "/usr"; then extradirs=`echo ${pp_destdir}/${mandir}/[mc]* | sed "s#${pp_destdir}/##g"` - extradirs="$extradirs `dirname $docdir` `dirname $exampledir` `dirname $rundir` `dirname $vardir`" + extradirs="$extradirs `dirname $docdir` `dirname $rundir` `dirname $vardir`" test -d ${pp_destdir}${localedir} && extradirs="$extradirs $localedir" for dir in $bindir $sbindir $libexecdir $includedir $extradirs; do while test "$dir" != "/"; do @@ -278,9 +278,8 @@ still allow people to get their work done." $docdir/LICENSE ignore,ignore-others $docdir/ChangeLog ignore,ignore-others %endif - $docdir/* 0644 - $exampledir/ 0755 - $exampledir/* 0644 + $exampledir/ 0755 ignore-others + $docdir/** 0644 $localedir/*/ - optional $localedir/*/LC_MESSAGES/ - optional $localedir/*/LC_MESSAGES/* 0644 optional -- 2.40.0