git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b5f0d8
)
Getting rid of // at the front helps the Cygwin-Users
author
Holger Schurig
<schurig@mn-solutions.de>
Thu, 23 Sep 2004 08:35:57 +0000
(08:35 +0000)
committer
Holger Schurig
<schurig@mn-solutions.de>
Thu, 23 Sep 2004 08:35:57 +0000
(08:35 +0000)
BKrev: 41528aedp-8bRPCeS9mLW7Gjq-7lmA
classes/base.oeclass
patch
|
blob
|
history
diff --git
a/classes/base.oeclass
b/classes/base.oeclass
index
679439f
..
a00556b
100644
(file)
--- a/
classes/base.oeclass
+++ b/
classes/base.oeclass
@@
-327,6
+327,9
@@
python base_do_patch() {
cmd = "PATH=\"%s\" patcher" % oe.data.getVar("PATH", d, 1)
if "pnum" in parm:
cmd += " -p %s" % parm["pnum"]
+ # Getting rid of // at the front helps the Cygwin-Users of OE
+ if efile.startswith('//'):
+ efile = efile[1:]
cmd += " -R -n \"%s\" -i %s" % (os.path.basename(efile), efile)
ret = os.system(cmd)
if ret != 0: