summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/updParentVersion.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/updParentVersion.sh b/tools/updParentVersion.sh
index 28e5bdb7..4f627db4 100755
--- a/tools/updParentVersion.sh
+++ b/tools/updParentVersion.sh
@@ -41,4 +41,6 @@ fi
find $1 -name pom.xml -exec bash -c 'updatePom "$0" $1' '{}' \;
#Adding single empty line before project tag if there is a header available
-find $1 -name pom.xml -exec sed -i -n '$!N;s@-->\n<project@-->\n\n<project@;P;D' {} \;
+find $1 -name pom.xml -exec sed -i '' '$!N;s@-->\n<project@-->\
+\
+<project@;P;D' {} \;