From bf8f0c5c1b594c3036057531c587db6e3f0bad18 Mon Sep 17 00:00:00 2001 From: short <> Date: Sun, 23 Jun 2002 16:21:04 +0000 Subject: [PATCH] Handle gracefully the case of unset/empty $PERLLIB env-var --- bin/perlilib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/perlilib b/bin/perlilib index abe21ba..b0e9f9a 100755 --- a/bin/perlilib +++ b/bin/perlilib @@ -2,4 +2,4 @@ # # $Id$ -exec /usr/bin/perl`echo ":$PERLLIB"|sed 's/:/ -I/g'` "$@" +exec /usr/bin/perl`echo "${PERLLIB:+:$PERLLIB}"|sed 's/:/ -I/g'` "$@" -- 1.8.3.1