devutils/set_quilt_vars: fix undefined variable access

This commit is contained in:
jj
2025-08-28 19:54:47 +00:00
parent 15ecb1cf62
commit 5480886df1

View File

@@ -26,4 +26,6 @@ export QUILT_PATCHES_ARGS="--color=auto"
export LC_ALL=C
# When non-default less options are used, add the -R option so that less outputs
# ANSI color escape codes "raw".
[ -n "$LESS" -a -z "${QUILT_PAGER+x}" ] && export QUILT_PAGER="less -FRX"
if [ -n "${LESS-}" -a -z "${QUILT_PAGER+x}" ]; then
export QUILT_PAGER="less -FRX"
fi