Quellcode durchsuchen

Update action.yml

changed defconfig variable to the correct one
jimsterino98 vor 2 Monaten
Ursprung
Commit
0c56b98703
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      .github/actions/chroot/action.yml

+ 3 - 3
.github/actions/chroot/action.yml

@@ -32,12 +32,12 @@ runs:
      for config in "${configs[@]}"; do
          key="${config%%=*}"
 
-         if grep -qE "^(${key}=|# ${key} is not set$)" "$target_config"; then
+         if grep -qE "^(${key}=|# ${key} is not set$)" "$GKI_DEFCONFIG"; then
              sed -i -E \
                  -e "s/^${key}=.*/${config}/" \
                  -e "s/^# ${key} is not set\$/${config}/" \
-                 "$target_config"
+                 "$GKI_DEFCONFIG"
          else
-             echo "$config" >> "$target_config"
+             echo "$config" >> "$GKI_DEFCONFIG"
          fi
      done