Quellcode durchsuchen

Fix inigrep query quoting

Absence of quotes breaks queries with spaces.  We're already taking care
of files (implicit or given on command line).
Alois Mahdal vor 10 Jahren
Ursprung
Commit
615a4b38d2
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      src/shellfu/saturnin.sh

+ 1
- 1
src/shellfu/saturnin.sh Datei anzeigen

@@ -112,7 +112,7 @@ saturnin__conf() {
112 112
     fi
113 113
     debug -v files
114 114
     #shellcheck disable=SC2086
115
-    _saturnin__conf__load "${files[@]}" | inigrep $ig_limit $ig_mode $ig_query
115
+    _saturnin__conf__load "${files[@]}" | inigrep $ig_limit $ig_mode "$ig_query"
116 116
     return "${PIPESTATUS[0]}"
117 117
 }
118 118