mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
shadow: fix find cmd in pre_build().
--HG-- extra : convert_revision : 6a17983df5c8ee4231ba7ec08c624b5d692b8f90
This commit is contained in:
parent
e39f124e7e
commit
5d3ded04a7
1 changed files with 5 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue