summaryrefslogtreecommitdiffstats
path: root/runtest.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-04-24 12:51:00 (GMT)
committerSteven Knight <knight@baldmt.com>2002-04-24 12:51:00 (GMT)
commit7eddfeb87f28c4cf8ba6839efdad8b366214ec01 (patch)
tree5687008a55ac5282705d8800a9f955c8bc3cafa1 /runtest.py
parent35f863c494e66e1524789ac329a6e9aff5f46189 (diff)
downloadSCons-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.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtest.py b/runtest.py
index 400f84c..b894a7f 100644
--- a/runtest.py
+++ b/runtest.py
@@ -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: