shadow: fix find cmd in pre_build().

--HG--
extra : convert_revision : 6a17983df5c8ee4231ba7ec08c624b5d692b8f90
This commit is contained in:
Juan RP 2009-10-16 01:22:18 +02:00
parent e39f124e7e
commit 5d3ded04a7

View File

@ -25,9 +25,11 @@ Add_dependency full pam
pre_build()
{
# Don't install the groups cmd, we use the one from coreutils.
cd $wrksrc && \
sed -i 's/groups$(EXEEXT) //' src/Makefile && \
find man -name Makefile -exec sed -i 's/groups\.1 / /' {}
cd $wrksrc || return 1
sed -i 's/groups$(EXEEXT) //' src/Makefile
for f in $(find man -name Makefile); do
sed -i 's/groups\.1 / /' $f
done
}
post_install()