diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2008-10-23 21:08:42 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2008-10-23 21:08:42 +0100 |
commit | b8ff2b6cc3fd50420dda19eaf78943bad64aad3b (patch) | |
tree | 182b977f7dd381986554000d0b7e0b1be6063267 /meta | |
parent | e4aa77e88efe49d38c63cb70f9d0c48a9dc3461f (diff) | |
download | openembedded-core-b8ff2b6cc3fd50420dda19eaf78943bad64aad3b.tar.gz openembedded-core-b8ff2b6cc3fd50420dda19eaf78943bad64aad3b.tar.bz2 openembedded-core-b8ff2b6cc3fd50420dda19eaf78943bad64aad3b.zip |
base.bbclass/bitbake.conf: Fix some string quoting to handle more unusual URLs
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/base.bbclass | 2 | ||||
-rw-r--r-- | meta/conf/bitbake.conf | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index d67579d9e5..c6e19c1501 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -641,7 +641,7 @@ def oe_unpack_file(file, data, url = None): (type, host, path, user, pswd, parm) = bb.decodeurl(url) if 'dos' in parm: cmd = '%s -a' % cmd - cmd = '%s %s' % (cmd, file) + cmd = "%s '%s'" % (cmd, file) elif os.path.isdir(file): filesdir = os.path.realpath(bb.data.getVar("FILESDIR", data, 1)) destdir = "." diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index a7ab50baa7..6919649227 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -476,12 +476,12 @@ FETCHCMD_bzr = "/usr/bin/env bzr" FETCHCMD_hg = "/usr/bin/env hg" FETCHCOMMAND = "ERROR, this must be a BitBake bug" -FETCHCOMMAND_wget = "/usr/bin/env wget -t 5 --passive-ftp -P ${DL_DIR} ${URI}" +FETCHCOMMAND_wget = "/usr/bin/env wget -t 5 --passive-ftp -P ${DL_DIR} '${URI}'" FETCHCOMMAND_cvs = "/usr/bin/env cvs '-d${CVSROOT}' co ${CVSCOOPTS} ${CVSMODULE}" FETCHCOMMAND_svn = "/usr/bin/env svn co ${SVNCOOPTS} ${SVNROOT} ${SVNMODULE}" CHECKCOMMAND_wget = "/usr/bin/env wget --spider -t 5 --passive-ftp -P ${DL_DIR} ${URI}" RESUMECOMMAND = "ERROR, this must be a BitBake bug" -RESUMECOMMAND_wget = "/usr/bin/env wget -c -t 5 --passive-ftp -P ${DL_DIR} ${URI}" +RESUMECOMMAND_wget = "/usr/bin/env wget -c -t 5 --passive-ftp -P ${DL_DIR} '${URI}'" UPDATECOMMAND = "ERROR, this must be a BitBake bug" UPDATECOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}" UPDATECOMMAND_svn = "/usr/bin/env svn update ${SVNCOOPTS}" |