Przeglądaj źródła

HPCC-26415 Fix problem with -i option in release scripts

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 3 lat temu
rodzic
commit
7102c117d1
1 zmienionych plików z 1 dodań i 1 usunięć
  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 -i .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"