Don't generate Ports.pm if $PREFIX

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6628 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-06-20 23:00:48 +00:00
parent becf6f7c2c
commit fd46db8b4b

View File

@ -190,7 +190,7 @@ done
#
install_file buildports.pl ${PREFIX}/usr/share/shorewall-perl/buildports.pl 0555
./buildports.pl > ${PREFIX}/usr/share/shorewall-perl/Shorewall/Ports.pm
[ -z "$PREFIX" ] && ./buildports.pl > /usr/share/shorewall-perl/Shorewall/Ports.pm
echo $VERSION > ${PREFIX}/usr/share/shorewall-perl/version
#