瀏覽代碼

Fix grep ambiguities

See also:

    https://github.com/koalaman/shellcheck/issues/1342
Alois Mahdal 5 年之前
父節點
當前提交
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;