aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-09-10 11:12:57 -0400
committerScott González <scott.gonzalez@gmail.com>2010-09-10 11:12:57 -0400
commit5db84e7db1ff76f72583d668bd62e04fb284fd11 (patch)
treeeecf2688cd74d716062f30a89f2af9f47238365c /build
parent975f900e177eff0ca05f7df64a79263fd92cdd9d (diff)
downloadjquery-ui-5db84e7db1ff76f72583d668bd62e04fb284fd11.tar.gz
jquery-ui-5db84e7db1ff76f72583d668bd62e04fb284fd11.zip
Build: Attempt to fix version replacement for API docs.
Diffstat (limited to 'build')
-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..."