From 5c8d1d3529e3b947adcbfff42f924391ca21773a Mon Sep 17 00:00:00 2001 From: lyn Date: Mon, 13 Apr 2026 13:30:49 +0000 Subject: [PATCH] Fix read vars: match all 6 SQL columns in list-projs --- git-hangman-lab/scripts/list-projs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-hangman-lab/scripts/list-projs b/git-hangman-lab/scripts/list-projs index 9799393..a7d1324 100755 --- a/git-hangman-lab/scripts/list-projs +++ b/git-hangman-lab/scripts/list-projs @@ -50,7 +50,7 @@ fi echo "| proj-name | owner | url | can-write |" echo "|------------|-------|-----|-----------|" -echo "$RESULT" | while IFS=$'\t' read -r name owner is_private can_write; do +echo "$RESULT" | while IFS=$'\t' read -r name owner is_private is_owner can_see can_write; do can_write_val=$([[ "$can_write" == "1" ]] && echo "yes" || echo "no") echo "| $name | $owner | https://git.hangman-lab.top/$owner/$name.git | $can_write_val |" done \ No newline at end of file