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