mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 04:04:10 +01:00
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:
parent
becf6f7c2c
commit
fd46db8b4b
@ -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
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user