Don't test compilation if $DESTDIR

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-03-11 09:48:46 -07:00
parent 48570227ba
commit 4ffcd80b02

View File

@ -236,7 +236,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin
# Determine where to install the firewall script # Determine where to install the firewall script
# #
if [ $PRODUCT = shorewall ]; then if [ $PRODUCT = shorewall -a -z "${DESTDIR}" ]; then
# #
# Verify that Perl is installed # Verify that Perl is installed
# #