kiss-mfavila-small/core-mod/core/net-tools/build
2021-10-23 03:07:27 +00:00

16 lines
302 B
Bash
Executable File

#!/bin/sh -e
# Change the SBINDIR and BINDIR to /usr/bin to keep kiss happy
sed -i 's/\/bin/\/usr\/bin/' Makefile
sed -i 's/\/sbin/\/usr\/bin/' Makefile
./configure.sh config.in
make
make DESTDIR="$1" install
for bin in route
do chmod 6770 "$1/usr/bin/$bin"
chgrp network "$1/usr/bin/$bin"
done