mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-19 08:07:13 +02:00
Do SHA/SHA1 test if $BUILD = $TEST, independent of $DESTDIR
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
a50bb407aa
commit
dc85d4a844
@ -248,7 +248,7 @@ OWNERSHIP="-o $OWNER -g $GROUP"
|
|||||||
# Determine where to install the firewall script
|
# Determine where to install the firewall script
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ $PRODUCT = shorewall -a -z "${DESTDIR}" ]; then
|
if [ $PRODUCT = shorewall -a "$BUILD" = "$HOST" ]; then
|
||||||
#
|
#
|
||||||
# Fix up 'use Digest::' if SHA is installed
|
# Fix up 'use Digest::' if SHA is installed
|
||||||
#
|
#
|
||||||
@ -259,7 +259,7 @@ if [ $PRODUCT = shorewall -a -z "${DESTDIR}" ]; then
|
|||||||
# Verify that Perl is installed
|
# Verify that Perl is installed
|
||||||
#
|
#
|
||||||
if ! perl -c Perl/compiler.pl; then
|
if ! perl -c Perl/compiler.pl; then
|
||||||
echo "ERROR: $Product $VERSION requires Perl which either is not installed or is not able to compile the $Product Perl code" >&2
|
echo "ERROR: $Product $VERSION requires Perl which either is not installed or is not able to compile the Shorewall Perl code" >&2
|
||||||
echo " Try perl -c $PWD/Perl/compiler.pl" >&2
|
echo " Try perl -c $PWD/Perl/compiler.pl" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user