dleyna-core: fix setup hook
For compatibility with set -u.
This commit is contained in:
parent
44083d9999
commit
7429f5fe9b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue