Sfoglia il codice sorgente

Multi-profile support

bryan 2 anni fa
parent
commit
22dd0f25f9
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      openwrtbuilder

+ 2 - 2
openwrtbuilder

@@ -481,7 +481,7 @@ fromSource() {
 }
 
 
-debug() { (( DEBUG )) && echo "Running: $*"; }
+debug() { (( DEBUG )) && echo "Debug: $*"; }
 
 
 askOk() {
@@ -643,7 +643,7 @@ main() {
 
         if (( DEBUG )) || (( PROFILE_INFO )); then
             echo "Profile settings:"
-            for x in "${!P_ARR[@]}"; do printf "[%s]=%s\n" "$x" "${P_ARR[$x]}"; done
+            for x in "${!P_ARR[@]}"; do printf "%s=%s\n" "$x" "${P_ARR[$x]}"; done
         fi
 
         # Experimental