00-patches.sh: replace echo | grep with [[ ]]
This commit is contained in:
parent
13b5d09803
commit
49193d73d9
|
@ -45,7 +45,7 @@ hook() {
|
|||
else
|
||||
for f in $PATCHESDIR/*; do
|
||||
[ ! -f $f ] && continue
|
||||
if $(echo $f|grep -Eq '^.*.args$'); then
|
||||
if [[ $f =~ ^.*.args$ ]]; then
|
||||
continue
|
||||
fi
|
||||
_process_patch $f
|
||||
|
|
Loading…
Reference in New Issue