mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
7429f5fe9b
For compatibility with set -u.
9 lines
264 B
Bash
9 lines
264 B
Bash
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"
|
|
fi
|
|
}
|
|
|
|
addEnvHooks "$targetOffset" addDleynaConnectorPath
|