Browse Source

Fix grep ambiguities

See also:

    https://github.com/koalaman/shellcheck/issues/1342
Alois Mahdal 5 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,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;