Browse Source

HPCC-23558 Remove java project tagging dependency on Maven

Fix sed version issue on OSX

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 5 years ago
parent
commit
92170954fe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmake_modules/parse_hpcc_pom.sh

+ 1 - 1
cmake_modules/parse_hpcc_pom.sh

@@ -97,7 +97,7 @@ function update_version_file()
     if [ $_mvn_return_value -eq 0 ]; then
     if [ $_mvn_return_value -eq 0 ]; then
         local version_update_cmd="mvn versions:set -DnewVersion=$_v"
         local version_update_cmd="mvn versions:set -DnewVersion=$_v"
     else
     else
-        local version_update_cmd="sed --in-place=.old 's/${HPCC_VERSION}/${_v}/' pom.xml"
+        local version_update_cmd="sed -i .old 's/${HPCC_VERSION}/${_v}/' pom.xml"
     fi
     fi
     if [ -n "$VERBOSE" ] ; then
     if [ -n "$VERBOSE" ] ; then
       echo  "$version_update_cmd"
       echo  "$version_update_cmd"