kiss-mfavila-small/core-mod/core/net-tools/build

16 lines
302 B
Plaintext
Raw Normal View History

#!/bin/sh -e
# Change the SBINDIR and BINDIR to /usr/bin to keep kiss happy
2021-05-11 00:07:37 -04:00
sed -i 's/\/bin/\/usr\/bin/' Makefile
sed -i 's/\/sbin/\/usr\/bin/' Makefile
2021-10-22 23:07:27 -04:00
./configure.sh config.in
make
make DESTDIR="$1" install
2021-06-06 18:36:04 -04:00
for bin in route
do chmod 6770 "$1/usr/bin/$bin"
chgrp network "$1/usr/bin/$bin"
done