From 9c1df9b511f172e941c697126f8acd43569f47b9 Mon Sep 17 00:00:00 2001 From: Harald Hope Date: Fri, 15 Dec 2023 17:00:50 -0800 Subject: [PATCH] config fixes --- pinxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pinxi b/pinxi index 28391b3..c783e51 100755 --- a/pinxi +++ b/pinxi @@ -1190,11 +1190,11 @@ sub set { s/^\s+//; s/\s+$//; s/'|"//g; - s/true/1/i; # switch to 1/0 perl boolean - s/false/0/i; # switch to 1/0 perl boolean next unless length; ($key, $val) = split(/\s*=\s*/, $_, 2); next unless length($val); + $val =~ s/true/1/i; # switch to 1/0 perl boolean + $val =~ s/false/0/i; # switch to 1/0 perl boolean if (!$b_show){ process_item($key,$val); }