diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-09-02 23:27:52 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-09-02 23:27:52 (GMT) |
commit | a8e9b1ef62fa2bd12cd21b9c9b7f622dfe11d257 (patch) | |
tree | fd7860eaa39f15508e494dff48e70be6af464151 | |
parent | ef23e219f918fe8f1321e6a2bfd2f37154cc0be4 (diff) | |
download | SCons-a8e9b1ef62fa2bd12cd21b9c9b7f622dfe11d257.zip SCons-a8e9b1ef62fa2bd12cd21b9c9b7f622dfe11d257.tar.gz SCons-a8e9b1ef62fa2bd12cd21b9c9b7f622dfe11d257.tar.bz2 |
remove reference to tools no longer included in SCons
-rw-r--r-- | bin/SConsExamples.py | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/bin/SConsExamples.py b/bin/SConsExamples.py index dd9bfaf..50c4c1a 100644 --- a/bin/SConsExamples.py +++ b/bin/SConsExamples.py @@ -418,6 +418,8 @@ scons_py = os.path.join('bootstrap', 'src', 'script', 'scons.py') if not os.path.exists(scons_py): scons_py = os.path.join('src', 'script', 'scons.py') +scons_py = os.path.join(os.getcwd(), scons_py) + scons_lib_dir = os.path.join(os.getcwd(), 'bootstrap', 'src', 'engine') if not os.path.exists(scons_lib_dir): scons_lib_dir = os.path.join(os.getcwd(), 'src', 'engine') @@ -612,10 +614,6 @@ ToolList = { ('ar', ['ARCOM', 'RANLIBCOM'], Cat, []), ('tar', 'TARCOM', Null, []), ('zip', 'ZIPCOM', Null, []), - ('BitKeeper', 'BITKEEPERCOM', Cat, []), - ('CVS', 'CVSCOM', Cat, []), - ('RCS', 'RCS_COCOM', Cat, []), - ('SCCS', 'SCCSCOM', Cat, []), ('javac', 'JAVACCOM', JavaCCom, []), ('javah', 'JAVAHCOM', JavaHCom, []), ('jar', 'JARCOM', JarCom, []), @@ -626,10 +624,6 @@ ToolList = { ('mslib', 'ARCOM', Cat, []), ('tar', 'TARCOM', Null, []), ('zip', 'ZIPCOM', Null, []), - ('BitKeeper', 'BITKEEPERCOM', Cat, []), - ('CVS', 'CVSCOM', Cat, []), - ('RCS', 'RCS_COCOM', Cat, []), - ('SCCS', 'SCCSCOM', Cat, []), ('javac', 'JAVACCOM', JavaCCom, []), ('javah', 'JAVAHCOM', JavaHCom, []), ('jar', 'JARCOM', JarCom, []), @@ -736,7 +730,11 @@ def command_edit(args, c, test, dict): def command_ls(args, c, test, dict): def ls(a): - return [' '.join(sorted([x for x in os.listdir(a) if x[0] != '.']))] + try: + return [' '.join(sorted([x for x in os.listdir(a) if x[0] != '.']))] + except OSError as e: + # This should never happen. Pop into debugger + import pdb; pdb.set_trace() if args: l = [] for a in args: |