Subversion Repositories configs

Rev

Rev 4 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4 Rev 9
Line 115... Line 115...
115
		for configfile in `ls -1 $configdir/cn\=config/olcDatabase*.ldif`; do
115
		for configfile in `ls -1 $configdir/cn\=config/olcDatabase*.ldif`; do
116
			dbdirs=$dbdirs"
116
			dbdirs=$dbdirs"
117
			"`LANG=C egrep '^olcDbDirectory[[:space:]]*:[[:space:]]+[[:print:]]+$' $configfile | sed 's,^olcDbDirectory: ,,'`
117
			"`LANG=C egrep '^olcDbDirectory[[:space:]]*:[[:space:]]+[[:print:]]+$' $configfile | sed 's,^olcDbDirectory: ,,'`
118
		done
118
		done
119
	elif [ -f $configfile ]; then
119
	elif [ -f $configfile ]; then
120
			dbdirs=`LANG=C egrep '^directory[[:space:]]+' $configfile | sed 's,^directory[[:space:]]*,,'`
120
		dbdirs=`LANG=C egrep '^directory[[:space:]]+' $configfile | sed 's,^directory[[:space:]]*,,' | tr -d \";`
121
	else
121
	else
122
		exit 6
122
		exit 6
123
	fi
123
	fi
124
	for dbdir in $dbdirs; do
124
	for dbdir in $dbdirs; do
125
		if [ ! -d $dbdir ]; then
125
		if [ ! -d $dbdir ]; then