Use sed parameters that are acceptable to Linux
Change-Id: Ib567edd21419e59451dad1a8f1a10c652091a465
diff --git a/tools/build/onos-change-version b/tools/build/onos-change-version
index 3ce5557..f30b9c2 100755
--- a/tools/build/onos-change-version
+++ b/tools/build/onos-change-version
@@ -38,7 +38,7 @@
$ONOS_ROOT/core/net/src/main/java/org/onosproject/core/impl/VersionManager.java
# Augment the version in archetypes tree.
-mvn -f tools/package/archetypes/pom.xml versions:set -DnewVersion=$NEW_VERSION versions:commit
+mvn -f tools/package/archetypes/p om.xml versions:set -DnewVersion=$NEW_VERSION versions:commit
for atype in api bundle cli rest ui uitab uitopo; do
pom="tools/package/archetypes/$atype/src/main/resources/archetype-resources/pom.xml"
sed -i".VERBACK" -E "1,/<onos.version>/s/<onos.version>[^<]*</<onos.version>$NEW_VERSION</g" $pom