Browse Source

Fix grep ambiguities

See also:

    https://github.com/koalaman/shellcheck/issues/1342
Alois Mahdal 6 years ago
parent
commit
ef0478b4f8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      dotfiles/bash/setup

+ 1
- 1
dotfiles/bash/setup View File

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