Require LIBEXEC and LIBPERL to be absolute path names

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-02-20 12:04:00 -08:00
parent c751a0ada3
commit 3180e13719
3 changed files with 10 additions and 5 deletions

View File

@ -102,7 +102,8 @@ case "$LIBEXEC" in
/*)
;;
*)
LIBEXEC=/usr/${LIBEXEC}
echo "The LIBEXEC setting must be an absolute path name" >&2
exit 1
;;
esac
@ -110,7 +111,8 @@ case "$PERLLIB" in
/*)
;;
*)
PERLLIB=/usr/${PERLLIB}
echo "The PERLLIB setting must be an absolute path name" >&2
exit 1
;;
esac

View File

@ -127,7 +127,8 @@ case "$LIBEXEC" in
/*)
;;
*)
LIBEXEC=/usr/${LIBEXEC}
echo "The LIBEXEC setting must be an absolute path name" >&2
exit 1
;;
esac

View File

@ -119,7 +119,8 @@ case "$LIBEXEC" in
/*)
;;
*)
LIBEXEC=/usr/${LIBEXEC}
echo "The LIBEXEC setting must be an absolute path name" >&2
exit 1
;;
esac
@ -127,7 +128,8 @@ case "$PERLLIB" in
/*)
;;
*)
PERLLIB=/usr/${PERLLIB}
echo "The PERLLIB setting must be an absolute path name" >&2
exit 1
;;
esac