]> granicus.if.org Git - sudo/commitdiff
Fix packaging of the example dir.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 18 Feb 2015 23:17:24 +0000 (16:17 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 18 Feb 2015 23:17:24 +0000 (16:17 -0700)
sudo.pp

diff --git a/sudo.pp b/sudo.pp
index 3dc7b019ee300e8562d73c63e15213fd8795675a..03b926c21afcc19959ea0a639d095e820ccb9281 100644 (file)
--- 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