Permalink
Browse files

Build: Attempt to fix version replacement for API docs.

  • Loading branch information...
scottgonzalez committed Sep 10, 2010
1 parent 975f900 commit 5db84e7db1ff76f72583d668bd62e04fb284fd11
Showing with 2 additions and 1 deletion.
  1. +2 −1 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..."

0 comments on commit 5db84e7

Please sign in to comment.