From 78e31c013d1d39a6c78d0581fcf8dc3a65d0b93c Mon Sep 17 00:00:00 2001 From: stevenknight Date: Sat, 20 Sep 2008 01:07:39 +0000 Subject: [PATCH] Windows portability: escape strings with file path names, which have \ separators on Windows. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3440 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- test/ExecuteInvalidateCache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ExecuteInvalidateCache.py b/test/ExecuteInvalidateCache.py index aad12e44..9c328a73 100644 --- a/test/ExecuteInvalidateCache.py +++ b/test/ExecuteInvalidateCache.py @@ -69,10 +69,10 @@ exists( n2 ) Execute(Copy('abc', 'def')) exists( n1 ) -n3 = File("%(subfn)s") +n3 = File(r"%(subfn)s") exists( n3 ) Execute(Mkdir('sub')) -Execute(Touch("%(subfn)s")) +Execute(Touch(r"%(subfn)s")) exists( n3 ) """ % locals()) -- 2.26.2