shadow: fix find cmd in pre_build().
--HG-- extra : convert_revision : 6a17983df5c8ee4231ba7ec08c624b5d692b8f90
This commit is contained in:
parent
e39f124e7e
commit
5d3ded04a7
@ -25,9 +25,11 @@ Add_dependency full pam
|
|||||||
pre_build()
|
pre_build()
|
||||||
{
|
{
|
||||||
# Don't install the groups cmd, we use the one from coreutils.
|
# Don't install the groups cmd, we use the one from coreutils.
|
||||||
cd $wrksrc && \
|
cd $wrksrc || return 1
|
||||||
sed -i 's/groups$(EXEEXT) //' src/Makefile && \
|
sed -i 's/groups$(EXEEXT) //' src/Makefile
|
||||||
find man -name Makefile -exec sed -i 's/groups\.1 / /' {}
|
for f in $(find man -name Makefile); do
|
||||||
|
sed -i 's/groups\.1 / /' $f
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install()
|
post_install()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user