summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2011-09-29 08:33:00 +0200
committerTobi Oetiker <tobi@oetiker.ch>2011-09-29 08:33:00 +0200
commit43cfbeb810d245bb4095f1bea4f917557cb14175 (patch)
treef9e02d8303b213e5b8bf3b6d651ff9621152a5bc
parenta39594e10328d8acd06f113282d081cde5d3f72b (diff)
downloadsmokeping-43cfbeb810d245bb4095f1bea4f917557cb14175.tar.gz
smokeping-43cfbeb810d245bb4095f1bea4f917557cb14175.tar.xz
deal with missing variables
-rw-r--r--setup/sdbs.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/sdbs.inc b/setup/sdbs.inc
index 041f384..5b04cc2 100644
--- a/setup/sdbs.inc
+++ b/setup/sdbs.inc
@@ -31,7 +31,7 @@ export PKG_CONFIG_PATH=$EPREFIX/lib/pkgconfig
export LD_LIBRARY_PATH=$EPREFIX/lib
# find our own perl modules
export PERL5LIB=$EPREFIX/lib/perl5
-if [ x$PERL != x ]; then
+if [ ${PERL:-x} != x ]; then
PATH=`dirname $PERL`:$PATH
fi
export PERL=perl