diff options
author | Guillaume Emont <gemont@igalia.com> | 2011-01-19 12:00:55 +0100 |
---|---|---|
committer | Guillaume Emont <gemont@igalia.com> | 2011-01-19 12:00:55 +0100 |
commit | 5ed6004b7dea1744b16c23d95c2400526009014c (patch) | |
tree | 253365580ffe37380c1e32f71e31d614d3495ed6 /setup-plugins-env.sh | |
parent | 116fc11582dc8352070f158db369d59030c58d50 (diff) |
setup-plugins-env.sh: avoid empty dir in GRL_PLUGIN_PATH
This can avoid annoying warnings when trying to load plugins from all dirs in
GRL_PLUGIN_PATH.
Diffstat (limited to 'setup-plugins-env.sh')
-rwxr-xr-x | setup-plugins-env.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-plugins-env.sh b/setup-plugins-env.sh index 3abd14b..32417b4 100755 --- a/setup-plugins-env.sh +++ b/setup-plugins-env.sh @@ -9,7 +9,7 @@ PLUGINS=`find $plugin_dir -type d | grep .libs | sort -r` for p in $PLUGINS; do pname=`expr $p : '.*/\(.*\)/.*'` echo " Found plugin:" $pname - GRL_PLUGIN_PATH=$GRL_PLUGIN_PATH:$PWD/$p + GRL_PLUGIN_PATH=$GRL_PLUGIN_PATH${GRL_PLUGIN_PATH:+:}$PWD/$p done export GRL_PLUGIN_PATH |