add tweaks for initial whitespace that cause 389-ds to choke on the schema ldif

This commit is contained in:
Nalin Dahyabhai 2010-11-30 11:46:12 -05:00 committed by Nalin Dahyabhai
parent eb90866aa9
commit 478f86fe1e

View File

@ -221,7 +221,9 @@ cat > 60kerberos.ldif << EOF
# This is a variation on kerberos.ldif which 389 Directory Server will like.
dn: cn=schema
EOF
egrep -iv '(^$|^dn:|^changetype:|^add:)' $inldif >> 60kerberos.ldif
egrep -iv '(^$|^dn:|^changetype:|^add:)' $inldif | \
sed -r 's,^ , ,g' | \
sed -r 's,^ , ,g' >> 60kerberos.ldif
touch -r $inldif 60kerberos.ldif
# Rebuild the configure scripts.