Skip to content

Commit 1fcafaa

Browse files
committed
fix: pass tests
1 parent fe72310 commit 1fcafaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ def execute(self, build_plan, zip_stream, query):
905905
log.debug("WORKDIR: %s", sh_work_dir)
906906
if source_path:
907907
if not os.path.isabs(source_path):
908-
source_path = os.path.join(sh_work_dir, source_path)
908+
source_path = os.path.normpath(os.path.join(sh_work_dir, source_path))
909909
else:
910910
source_path = sh_work_dir
911911
if os.path.isdir(source_path):
@@ -959,7 +959,7 @@ def execute(self, build_plan, zip_stream, query):
959959
if not path:
960960
path = tf_work_dir
961961
if not os.path.isabs(path):
962-
path = os.path.join(tf_work_dir, path)
962+
path = os.path.normpath(os.path.join(tf_work_dir, path))
963963

964964
if log.isEnabledFor(DEBUG2):
965965
log.debug("exec shell script ...")

0 commit comments

Comments
 (0)