From 5d6e412d29b49955f6f1c12e5616764848be5af4 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 20 Jan 2024 21:07:44 +0300 Subject: [PATCH] tweaking... Signed-off-by: Alex A. Naanou --- .pct-helpers | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.pct-helpers b/.pct-helpers index 5bf9f42..1f6dbcc 100644 --- a/.pct-helpers +++ b/.pct-helpers @@ -178,8 +178,9 @@ xread(){ shift local non_empty=1 fi - # XXX check DFL_..??? - if [[ "${!2}" == "SKIP" ]] ; then + # skip... + if [[ "${!2}" == "SKIP" ]] \ + || [[ "$(eval "echo \$DFL_$2")" == "SKIP" ]] ; then eval "$2=" return fi