From 0223439e2bca5f3df9025578fe0a6e3305644dbc Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 12 Mar 2012 14:02:44 -0700 Subject: [PATCH] Don't compile if ${DESTDIR} Signed-off-by: Tom Eastep --- Shorewall/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/install.sh b/Shorewall/install.sh index a266a7514..7fc03f7fc 100755 --- a/Shorewall/install.sh +++ b/Shorewall/install.sh @@ -236,7 +236,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin # Determine where to install the firewall script # -if [ $PRODUCT = shorewall ]; then +if [ $PRODUCT = shorewall -a -z "${DESTDIR}" ]; then # # Verify that Perl is installed #