mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
deepin: setup hook grep with '-a'
This commit is contained in:
parent
907142c8f0
commit
29a7f77c45
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user