]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Python/WorkspaceRoutines.py
1. Fix EDKT413: EnumerationData.java should use defined final static string
[mirror_edk2.git] / Tools / Python / WorkspaceRoutines.py
index c919065fc3d3bfa52b7d0c0ac7e6b82f1c306c36..a34eff2d7177a597b605edff7e0d7bbc85be0031 100755 (executable)
@@ -19,3 +19,8 @@ def genguid():
         str(time.time()) + 
         socket.gethostbyname(socket.gethostname())).hexdigest()
   return "%s-%s-%s-%s-%s" % (g[0:8], g[8:12], g[12:16], g[16:20], g[20:])
+
+def lean(path):
+  """Lean the slashes forward"""
+
+  return os.path.normpath(path).replace("\\", "/")