diff options
author | Steve Dower <steve.dower@microsoft.com> | 2015-03-08 19:59:00 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2015-03-08 19:59:00 (GMT) |
commit | 1872f93fd128161a7ebebf1a479dc31a6b5eb434 (patch) | |
tree | d6af015a7de397bdf2efee7d62e53ac29d451db1 /Tools/msi | |
parent | 5bd7bf5bab3a961a3952e36b053eb93818553e13 (diff) | |
download | cpython-1872f93fd128161a7ebebf1a479dc31a6b5eb434.zip cpython-1872f93fd128161a7ebebf1a479dc31a6b5eb434.tar.gz cpython-1872f93fd128161a7ebebf1a479dc31a6b5eb434.tar.bz2 |
Minor updates to Windows installer upload script.
Diffstat (limited to 'Tools/msi')
-rw-r--r-- | Tools/msi/uploadrelease.bat | 3 | ||||
-rw-r--r-- | Tools/msi/uploadrelease.proj | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Tools/msi/uploadrelease.bat b/Tools/msi/uploadrelease.bat index 2064a67..c91d229 100644 --- a/Tools/msi/uploadrelease.bat +++ b/Tools/msi/uploadrelease.bat @@ -30,9 +30,10 @@ if not defined PSCP echo Cannot locate pscp.exe & exit /B 1 echo Found pscp.exe at %PSCP% call "%PCBUILD%env.bat" > nul 2> nul +pushd "%D%" msbuild /v:m /nologo uploadrelease.proj /t:Upload /p:Platform=x86 msbuild /v:m /nologo uploadrelease.proj /t:Upload /p:Platform=x64 /p:IncludeDoc=false - +popd exit /B 0 :Help diff --git a/Tools/msi/uploadrelease.proj b/Tools/msi/uploadrelease.proj index a3ebe57..56aff4a 100644 --- a/Tools/msi/uploadrelease.proj +++ b/Tools/msi/uploadrelease.proj @@ -41,14 +41,14 @@ <Target Name="_Upload" Condition="!$(DryRun)"> <Exec Command=""$(PLINK)" $(User)@$(Host) mkdir %(File.CopyTo) ^&^& chgrp downloads %(File.CopyTo) ^&^& chmod g-w,o+rx %(File.CopyTo) "$(PSCP)" @(File,' ') $(User)@$(Host):%(File.CopyTo) -"$(PLINK)" $(User)@$(Host) chgrp downloads %(File.CopyTo)/* ^&^& chmod g-w,o+r %(File.CopyTo)/* +"$(PLINK)" $(User)@$(Host) chgrp downloads %(File.CopyTo)/*; chmod g-w,o+r %(File.CopyTo)/* " /> </Target> <Target Name="_PrintNames" Condition="$(DryRun)"> <Exec Command="echo "$(PLINK)" $(User)@$(Host) mkdir %(File.CopyTo) ^&^& chgrp downloads %(File.CopyTo) ^&^& chmod g-w,o+rx %(File.CopyTo) echo "$(PSCP)" @(File,' ') $(User)@$(Host):%(File.CopyTo) -echo "$(PLINK)" $(User)@$(Host) chgrp downloads %(File.CopyTo)/* ^&^& chmod g-w,o+r %(File.CopyTo)/* +echo "$(PLINK)" $(User)@$(Host) chgrp downloads %(File.CopyTo)/*; chmod g-w,o+r %(File.CopyTo)/* echo. echo." /> </Target> |