diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/updParentVersion.sh | 4 |
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' {} \; |