diff options
author | Steven Knight <knight@baldmt.com> | 2002-04-24 12:51:00 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-04-24 12:51:00 (GMT) |
commit | 7eddfeb87f28c4cf8ba6839efdad8b366214ec01 (patch) | |
tree | 5687008a55ac5282705d8800a9f955c8bc3cafa1 /runtest.py | |
parent | 35f863c494e66e1524789ac329a6e9aff5f46189 (diff) | |
download | SCons-7eddfeb87f28c4cf8ba6839efdad8b366214ec01.zip SCons-7eddfeb87f28c4cf8ba6839efdad8b366214ec01.tar.gz SCons-7eddfeb87f28c4cf8ba6839efdad8b366214ec01.tar.bz2 |
Rework Debian packaging ito incorporate changes from Moshe Zadka, official Debian SCons package maintainer.
Diffstat (limited to 'runtest.py')
-rw-r--r-- | runtest.py | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -93,6 +93,10 @@ if package: 'zip' : '', } + lib = { + 'deb' : os.path.join('python2.1', 'site-packages') + } + if not dir.has_key(package): sys.stderr.write("Unknown package '%s'\n" % package) sys.exit(2) @@ -104,7 +108,8 @@ if package: lib_dir = os.path.join(test_dir, dir[package]) else: scons_dir = os.path.join(test_dir, dir[package], 'bin') - lib_dir = os.path.join(test_dir, dir[package], 'lib', 'scons') + l = lib.get(package, 'scons') + lib_dir = os.path.join(test_dir, dir[package], 'lib', l) else: |