From 7429f5fe9bb388562e39a1cfe8eb9479d1ddc249 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Wed, 20 Nov 2019 03:57:43 +0100 Subject: [PATCH] dleyna-core: fix setup hook For compatibility with set -u. --- pkgs/development/libraries/dleyna-core/setup-hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/dleyna-core/setup-hook.sh b/pkgs/development/libraries/dleyna-core/setup-hook.sh index 87b5c67dff58..287ad4dc1897 100644 --- a/pkgs/development/libraries/dleyna-core/setup-hook.sh +++ b/pkgs/development/libraries/dleyna-core/setup-hook.sh @@ -1,7 +1,7 @@ addDleynaConnectorPath () { if test -d "$1/lib/dleyna-1.0/connectors" then - export DLEYNA_CONNECTOR_PATH="${DLEYNA_CONNECTOR_PATH}${DLEYNA_CONNECTOR_PATH:+:}$1/lib/dleyna-1.0/connectors" + export DLEYNA_CONNECTOR_PATH="${DLEYNA_CONNECTOR_PATH-}${DLEYNA_CONNECTOR_PATH:+:}$1/lib/dleyna-1.0/connectors" fi }