Fix sed in sync-projects

Take care the $ENT_DIR gets expaned - change quotation marks.

Change-Id: Ia2eb8771c7f4048cc28edfa18fd85dc8fbbe7ad8
This commit is contained in:
Andreas Jaeger
2014-08-18 15:08:26 +02:00
parent a85d77ec20
commit bfa88ddbe6

View File

@@ -37,6 +37,6 @@ GLOSSARY_DIR="$PROJECT_DIR/$GLOSSARY_SUB_DIR"
cp doc/glossary/glossary-terms.xml $GLOSSARY_DIR/
cp doc/glossary/locale/* $GLOSSARY_DIR/locale/
sed -i -e 's|"../common/entities/openstack.ent"|"../$ENT_DIR/openstack.ent"|' \
sed -i -e "s|\"../common/entities/openstack.ent\"|\"../$ENT_DIR/openstack.ent\"|" \
$GLOSSARY_DIR/glossary-terms.xml
(cd $PROJECT_DIR;git add $GLOSSARY_SUB_DIR)