]> source.dussan.org Git - jquery-ui.git/commitdiff
Build: Attempt to fix version replacement for API docs.
authorScott González <scott.gonzalez@gmail.com>
Fri, 10 Sep 2010 15:12:57 +0000 (11:12 -0400)
committerScott González <scott.gonzalez@gmail.com>
Fri, 10 Sep 2010 15:12:57 +0000 (11:12 -0400)
build/release/prepare-release

index e57130a9e27600da751b60e09a25a147510228e0..3433c3e21c139b78751beaf3f53177c2093d1b59 100755 (executable)
@@ -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..."