From fcd6c88ac14c4865fd9c7c5e97296e28737c2fa1 Mon Sep 17 00:00:00 2001 From: Brian Cox Date: Mon, 18 Apr 2016 23:13:21 -0700 Subject: [PATCH] Make sure we don't install twtest (the unit test binary) to /usr/local/sbin during a make install. --- install/install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install/install.sh b/install/install.sh index 60962ca..68e2554 100755 --- a/install/install.sh +++ b/install/install.sh @@ -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.