diff options
-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): | |||
641 | (type, host, path, user, pswd, parm) = bb.decodeurl(url) | 641 | (type, host, path, user, pswd, parm) = bb.decodeurl(url) |
642 | if 'dos' in parm: | 642 | if 'dos' in parm: |
643 | cmd = '%s -a' % cmd | 643 | cmd = '%s -a' % cmd |
644 | cmd = '%s %s' % (cmd, file) | 644 | cmd = "%s '%s'" % (cmd, file) |
645 | elif os.path.isdir(file): | 645 | elif os.path.isdir(file): |
646 | filesdir = os.path.realpath(bb.data.getVar("FILESDIR", data, 1)) | 646 | filesdir = os.path.realpath(bb.data.getVar("FILESDIR", data, 1)) |
647 | destdir = "." | 647 | 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" | |||
476 | FETCHCMD_hg = "/usr/bin/env hg" | 476 | FETCHCMD_hg = "/usr/bin/env hg" |
477 | 477 | ||
478 | FETCHCOMMAND = "ERROR, this must be a BitBake bug" | 478 | FETCHCOMMAND = "ERROR, this must be a BitBake bug" |
479 | FETCHCOMMAND_wget = "/usr/bin/env wget -t 5 --passive-ftp -P ${DL_DIR} ${URI}" | 479 | FETCHCOMMAND_wget = "/usr/bin/env wget -t 5 --passive-ftp -P ${DL_DIR} '${URI}'" |
480 | FETCHCOMMAND_cvs = "/usr/bin/env cvs '-d${CVSROOT}' co ${CVSCOOPTS} ${CVSMODULE}" | 480 | FETCHCOMMAND_cvs = "/usr/bin/env cvs '-d${CVSROOT}' co ${CVSCOOPTS} ${CVSMODULE}" |
481 | FETCHCOMMAND_svn = "/usr/bin/env svn co ${SVNCOOPTS} ${SVNROOT} ${SVNMODULE}" | 481 | FETCHCOMMAND_svn = "/usr/bin/env svn co ${SVNCOOPTS} ${SVNROOT} ${SVNMODULE}" |
482 | CHECKCOMMAND_wget = "/usr/bin/env wget --spider -t 5 --passive-ftp -P ${DL_DIR} ${URI}" | 482 | CHECKCOMMAND_wget = "/usr/bin/env wget --spider -t 5 --passive-ftp -P ${DL_DIR} ${URI}" |
483 | RESUMECOMMAND = "ERROR, this must be a BitBake bug" | 483 | RESUMECOMMAND = "ERROR, this must be a BitBake bug" |
484 | RESUMECOMMAND_wget = "/usr/bin/env wget -c -t 5 --passive-ftp -P ${DL_DIR} ${URI}" | 484 | RESUMECOMMAND_wget = "/usr/bin/env wget -c -t 5 --passive-ftp -P ${DL_DIR} '${URI}'" |
485 | UPDATECOMMAND = "ERROR, this must be a BitBake bug" | 485 | UPDATECOMMAND = "ERROR, this must be a BitBake bug" |
486 | UPDATECOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}" | 486 | UPDATECOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}" |
487 | UPDATECOMMAND_svn = "/usr/bin/env svn update ${SVNCOOPTS}" | 487 | UPDATECOMMAND_svn = "/usr/bin/env svn update ${SVNCOOPTS}" |