Просмотр исходного кода

Fix grep ambiguities

See also:

    https://github.com/koalaman/shellcheck/issues/1342
Alois Mahdal 5 лет назад
Родитель
Сommit
ef0478b4f8
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      dotfiles/bash/setup

+ 1
- 1
dotfiles/bash/setup Просмотреть файл

@@ -5,7 +5,7 @@ put() {
5 5
 }
6 6
 
7 7
 mark="# added by https://github.com/AloisMahdal/mydots"
8
-if grep -qF "$mark" "$HOME/.bashrc";
8
+if grep -qFe "$mark" "$HOME/.bashrc";
9 9
 then
10 10
     echo "already set up, giving up";
11 11
     exit 1;