From 78e260013786d048589172a74dbe6288ef4edba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Touceda?= Date: Thu, 20 Oct 2011 10:55:51 -0300 Subject: Paths inside a Thp cfg will use / from now on --- lib/thandy/packagesys/ThpPackages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/thandy/packagesys/ThpPackages.py b/lib/thandy/packagesys/ThpPackages.py index da76c6b..84e55c5 100644 --- a/lib/thandy/packagesys/ThpPackages.py +++ b/lib/thandy/packagesys/ThpPackages.py @@ -249,8 +249,8 @@ class ThpInstaller(PS.Installer): logging.info("Processing file: %s" % file) try: # Create all the needed dirs - os.makedirs(os.sep.join((os.path.join(destPath, file['name']) - .split(os.path.sep)[:-1]))) + os.makedirs(os.path.join((os.path.join(destPath, file['name']) + .split("/")[:-1]))) except: # Ignore if it already exists pass -- cgit v1.2.3