{wrapGAppsHook, patchShebangs}: fix issues with set -u (#366553)
This commit is contained in:
@@ -24,7 +24,7 @@ fixupOutputHooks+=(patchShebangsAuto)
|
||||
|
||||
patchShebangs() {
|
||||
local pathName
|
||||
local update
|
||||
local update=false
|
||||
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case "$1" in
|
||||
|
||||
@@ -28,7 +28,7 @@ gappsWrapperArgsHook() {
|
||||
fi
|
||||
|
||||
for v in ${wrapPrefixVariables:-} GST_PLUGIN_SYSTEM_PATH_1_0 GI_TYPELIB_PATH GRL_PLUGIN_PATH; do
|
||||
if [ -n "${!v}" ]; then
|
||||
if [ -n "${!v:-}" ]; then
|
||||
gappsWrapperArgs+=(--prefix "$v" : "${!v}")
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user