aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild/release/prepare-release3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/release/prepare-release b/build/release/prepare-release
index e57130a9e..3433c3e21 100755
--- a/build/release/prepare-release
+++ b/build/release/prepare-release
@@ -243,7 +243,8 @@ cd build
# Update the link to the docs (never contains the patch version)
echo "Updating URL for API docs..."
-sed -i -e "s/UI\/API\/\${release\.version}/UI\/API\/$major_minor/" build.xml >build.xml
+sed "s/UI\/API\/\${release\.version}/UI\/API\/$major_minor/" build.xml >build.xml.tmp
+mv build.xml.tmp build.xml
# Run the build
echo "Running build..."