diff options
author | Steven Knight <knight@baldmt.com> | 2002-09-25 16:56:41 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-09-25 16:56:41 (GMT) |
commit | d23e503a2499c58c9826b3b341ff33f79bc20b10 (patch) | |
tree | f9827472eb38e3d2df1af48fae50cfa3043ef4e2 /test/TARFLAGS.py | |
parent | 72042342ebcbc24c523fb4e1413821c73e585a2a (diff) | |
download | SCons-d23e503a2499c58c9826b3b341ff33f79bc20b10.zip SCons-d23e503a2499c58c9826b3b341ff33f79bc20b10.tar.gz SCons-d23e503a2499c58c9826b3b341ff33f79bc20b10.tar.bz2 |
Windows portability
Diffstat (limited to 'test/TARFLAGS.py')
-rw-r--r-- | test/TARFLAGS.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/TARFLAGS.py b/test/TARFLAGS.py index 6fcff43..9bf1359 100644 --- a/test/TARFLAGS.py +++ b/test/TARFLAGS.py @@ -62,7 +62,7 @@ sys.exit(0) """) test.write('SConstruct', """ -env = Environment(TAR = r'%s mytar.py', TARFLAGS = '-x') +env = Environment(tools = ['tar'], TAR = r'%s mytar.py', TARFLAGS = '-x') env.Tar(target = 'aaa.tar', source = ['file1', 'file2']) env.Tar(target = 'aaa.tar', source = 'file3') env.Tar(target = 'bbb', source = 'sub1') @@ -99,9 +99,11 @@ os.system(string.join(sys.argv[1:], " ")) """ % string.replace(test.workpath('wrapper.out'), '\\', '\\\\')) test.write('SConstruct', """ -foo = Environment() +foo = Environment(tools = ['tar']) tar = foo['TAR'] -bar = Environment(TAR = '', TARFLAGS = '%s wrapper.py ' + tar + ' -c -b 1') +bar = Environment(tools = ['tar'], + TAR = '', + TARFLAGS = '%s wrapper.py ' + tar + ' -c -b 1') foo.Tar(target = 'foo.tar', source = ['file10', 'file11']) foo.Tar(target = 'foo.tar', source = 'file12') bar.Tar(target = 'bar.tar', source = ['file13', 'file14']) |