{wrapGAppsHook, patchShebangs}: fix issues with set -u (#366553)

This commit is contained in:
Ryan Hendrickson
2025-01-04 17:20:32 -05:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -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