From 5db84e7db1ff76f72583d668bd62e04fb284fd11 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Fri, 10 Sep 2010 11:12:57 -0400 Subject: [PATCH] Build: Attempt to fix version replacement for API docs. --- build/release/prepare-release | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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..." -- 2.39.5