diff options
author | Holger Schurig <schurig@mn-solutions.de> | 2004-09-23 08:35:57 +0000 |
---|---|---|
committer | Holger Schurig <schurig@mn-solutions.de> | 2004-09-23 08:35:57 +0000 |
commit | f361480a5639b9f10ca69722df47f3e6112caa81 (patch) | |
tree | a12f5a795a968b3fe491602d2351aebe97139b56 /classes/base.oeclass | |
parent | 0b5f0d8a904b4832d8d2276f85b2d78642d3732a (diff) |
Getting rid of // at the front helps the Cygwin-Users
BKrev: 41528aedp-8bRPCeS9mLW7Gjq-7lmA
Diffstat (limited to 'classes/base.oeclass')
-rw-r--r-- | classes/base.oeclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/base.oeclass b/classes/base.oeclass index 679439f6fc..a00556bd5d 100644 --- 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: |