dleyna-core: fix setup hook
For compatibility with set -u.
This commit is contained in:
parent
44083d9999
commit
7429f5fe9b
@ -1,7 +1,7 @@
|
|||||||
addDleynaConnectorPath () {
|
addDleynaConnectorPath () {
|
||||||
if test -d "$1/lib/dleyna-1.0/connectors"
|
if test -d "$1/lib/dleyna-1.0/connectors"
|
||||||
then
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user