deepin: setup hook grep with '-a'

This commit is contained in:
José Romildo Malaquias 2019-04-07 13:19:46 -03:00
parent 907142c8f0
commit 29a7f77c45

View File

@ -11,7 +11,7 @@ searchHardCodedPaths() {
grep --color=always -r -E '\<(ExecStart|Exec|startDetached|execute|exec\.(Command|LookPath))\>' $dir || true
echo ----------- looking for hard coded paths
grep --color=always -r -E '/(usr|bin|sbin|etc|var|opt)\>' $dir || true
grep --color=always -a -r -E '/(usr|bin|sbin|etc|var|opt)\>' $dir || true
echo ----------- done
}