Make sure we don't install twtest (the unit test binary) to /usr/local/sbin during a make install.

This commit is contained in:
Brian Cox 2016-04-18 23:13:21 -07:00
parent 00fb3538ab
commit fcd6c88ac1
1 changed files with 6 additions and 0 deletions

View File

@ -605,6 +605,12 @@ for i in $loosefiles; do
fi
done
#Make extra sure we don't install the unit test binary to sbin
if [ -e "$TWBIN/twtest" ] ; then
rm -f "$TWBIN/twtest"
fi
##=======================================================
## Files are now present on user's system.
## Begin Tripwire configuration.