diff options
-rw-r--r-- | lib/thandy/packagesys/ThpPackages.py | 4 |
1 files 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 |