Update .gitea/workflows/ci.yml

This commit is contained in:
Arlind
2025-06-18 20:08:32 +02:00
parent b1c9934869
commit 5b531cbbb2

View File

@@ -676,7 +676,7 @@ jobs:
skin_header="$skin"
if [ -f "$ini_file" ]; then
name_line=$(grep -a -i '^Name[[:space:]]*:' "$ini_file" | head -n1 || true)
name_line=$(grep -a -i -m1 'Name[[:space:]]*:' "$ini_file" || true)
if [ -n "$name_line" ]; then
val="${name_line#*:}"
val="$(echo "$val" | sed 's/^[[:space:]]*//;s/[[:space:]]*$//')"
@@ -718,7 +718,7 @@ jobs:
skin_header="$skin"
if [ -f "$ini_file" ]; then
name_line=$(grep -a -i '^Name[[:space:]]*:' "$ini_file" | head -n1 || true)
name_line=$(grep -a -i -m1 'Name[[:space:]]*:' "$ini_file" || true)
if [ -n "$name_line" ]; then
val="${name_line#*:}"
val="$(echo "$val" | sed 's/^[[:space:]]*//;s/[[:space:]]*$//')"