From: short <> Date: Sun, 23 Jun 2002 16:21:04 +0000 (+0000) Subject: Handle gracefully the case of unset/empty $PERLLIB env-var X-Git-Tag: bp_liverpm~135 X-Git-Url: http://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=bf8f0c5c1b594c3036057531c587db6e3f0bad18 Handle gracefully the case of unset/empty $PERLLIB env-var --- 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'` "$@"