Handle gracefully the case of unset/empty $PERLLIB env-var
[nethome.git] / 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'` "$@"