Explorar o código

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 %!s(int64=5) %!d(string=hai) anos
pai
achega
92170954fe
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
         local version_update_cmd="mvn versions:set -DnewVersion=$_v"
     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
     if [ -n "$VERBOSE" ] ; then
       echo  "$version_update_cmd"