00-patches.sh: replace echo | grep with [[ ]]
This commit is contained in:
parent
13b5d09803
commit
49193d73d9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue