From de4c7f8ba6e8d6fb383e2d6571d4c4760fd63536 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Fri, 3 Apr 2015 09:06:58 -0400 Subject: [PATCH] switched to use python's built in os.separator vs using / --- files/copy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/copy.py b/files/copy.py index 8b6611a2586..035b18a16bd 100644 --- a/files/copy.py +++ b/files/copy.py @@ -240,7 +240,7 @@ def main(): changed = False # Special handling for recursive copy - create intermediate dirs - if original_basename and dest.endswith("/"): + if original_basename and dest.endswith(os.sep): dest = os.path.join(dest, original_basename) dirname = os.path.dirname(dest) if not os.path.exists(dirname) and os.path.isabs(dirname):