Apply patch from mmadia to add a Release Notes file to the alpha image desktop.

Allow wget to output to files with spaces in the DownloadFile rule.

Fixes #7609.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42015 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ryan Leavengood 2011-06-07 17:52:13 +00:00
parent 202706381e
commit 8e4f760cb8
2 changed files with 6 additions and 1 deletions

View File

@ -372,7 +372,7 @@ rule DownloadLocatedFile target : url
actions DownloadLocatedFile1
{
wget -O $(1) $(URL)
wget -O "$(1)" $(URL)
}
rule DownloadFile file : url

View File

@ -26,6 +26,11 @@ switch $(HAIKU_BUILD_PROFILE) {
AddOptionalHaikuImagePackages CVS Development Git Mercurial
Python Subversion OpenSSH OpenSSL ;
AddOptionalHaikuImagePackages Nano P7zip Welcome BeBook XZ-Utils ;
local releaseNotesURL = http://dev.haiku-os.org/wiki/R1/Alpha3/ReleaseNotes?format=txt ;
local releaseNotesName = "Release Notes" ;
local releaseNotesFile = [ DownloadFile $(releaseNotesName) : $(releaseNotesURL) ] ;
AddFilesToHaikuImage home Desktop : $(releaseNotesFile) ;
}
case "beta-*" : {