summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-04-23 16:17:37 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-04-23 16:20:26 +0000
commita41e2c1231acc84acec60c0afac654670320eb8e (patch)
tree88cdfc76f913b1f4d6629ff799506e9c18ac0e0a /tests
parenta28544e14659ac6761e46d597933526eb472e7b6 (diff)
downloadmorph-a41e2c1231acc84acec60c0afac654670320eb8e.tar.gz
build-system: distutils test, fix output
Debian systems install python packages into dist-packages, default python behaviour is to install into site-packages. To reconcile this difference, treat any foo-packages component as just being packages.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/build-system-python-distutils.script1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/build-system-python-distutils.script b/tests/build-system-python-distutils.script
index 49ab98ce..1c79a6c1 100755
--- a/tests/build-system-python-distutils.script
+++ b/tests/build-system-python-distutils.script
@@ -62,4 +62,5 @@ done |
sed -e 's:^local/::' \
-e 's:lib/python2.[6-9]/:lib/python2.x/:' \
-e 's:/hello-0\.0\.0[^/]*\.egg-info$:/hello.egg-info/:' \
+ -e 's:[^/]*-packages:packages:' \
-e '/^$/d'