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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user