aboutsummaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorRaphael Moll <ralf@android.com>2010-08-23 14:01:32 -0700
committerAndroid Code Review <code-review@android.com>2010-08-23 14:01:32 -0700
commitad578ac1756c96a0dbf520867b9c9c95bd366b6f (patch)
tree0293d5c998fd9822726063ec26d69af94a278cc5 /files
parent2363957103ae62d08b24212f2bffdb2b6332e82f (diff)
parent0913421ffd4ab078bc2f9472c73f1e5bbf9525c4 (diff)
downloadsdk-ad578ac1756c96a0dbf520867b9c9c95bd366b6f.zip
sdk-ad578ac1756c96a0dbf520867b9c9c95bd366b6f.tar.gz
sdk-ad578ac1756c96a0dbf520867b9c9c95bd366b6f.tar.bz2
Merge "SDK: Rename "SDK Setup.exe" to "SDK Manager.exe""
Diffstat (limited to 'files')
-rw-r--r--files/post_tools_install.bat12
1 files changed, 9 insertions, 3 deletions
diff --git a/files/post_tools_install.bat b/files/post_tools_install.bat
index 94928c6..36e3279 100644
--- a/files/post_tools_install.bat
+++ b/files/post_tools_install.bat
@@ -30,9 +30,15 @@ rem Change current directory and drive to where the script is, to avoid
rem issues with directories containing whitespaces.
cd /d %~dp0
-set src=SDK Setup.exe
+set src=SDK Manager.exe
set dst=..\..\%src%
-if not exist "%src%" goto :EOF
+if not exist "%src%" goto Cleanup
echo Updating %src%
- copy /V /Y "%src%" "%dst%" \ No newline at end of file
+ copy /V /Y "%src%" "%dst%"
+
+:Cleanup
+set old_dst=..\..\SDK Setup.exe
+if not exist "%old_dst%" goto :EOF
+ echo Removing obsolete %old_dst%
+ del /F /Q "%old_dst%"