Handle gracefully the case of unset/empty $PERLLIB env-var
authorshort <>
Sun, 23 Jun 2002 16:21:04 +0000 (16:21 +0000)
committershort <>
Sun, 23 Jun 2002 16:21:04 +0000 (16:21 +0000)
bin/perlilib

index abe21ba..b0e9f9a 100755 (executable)
@@ -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'` "$@"