1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s3:test_net_registry_check.sh: grep -E isn't portable, use egrep

grep -E doesn't work on Solaris /usr/bin/grep e.g.

Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Wed Jun 27 02:18:07 CEST 2012 on sn-devel-104
This commit is contained in:
Björn Jacke 2012-06-27 00:25:53 +02:00 committed by Bjoern Jacke
parent 94afad20b5
commit efa73ba52a

View File

@ -30,7 +30,7 @@ failed=0
regcheck()
{
ALLOWEDERR="Check database:|INFO: version ="
ERRSTR=$(${NETREG} check $REG $@ 2>&1 | grep -E -v "$ALLOWEDERR")
ERRSTR=$(${NETREG} check $REG $@ 2>&1 | egrep -v "$ALLOWEDERR")
}
# try to repair registry