# HG changeset patch # User Benoit Boissinot # Date 2008-10-18 19:08:44 # Node ID bcbba59e233db99d7668a0980add2c501636938d # Parent 0df098871e3d51a2910224c1f0629802d7686276 run-tests.py: use --prefix instead of --home Some SUSE version don't like --home, they fail with: "error: must supply either home or prefix/exec-prefix -- not both" this is due to SUSE shipping a distutils.cfg conflicting with --home. diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -176,7 +176,7 @@ def install_hg(): # Run installer in hg root os.chdir(os.path.join(os.path.dirname(sys.argv[0]), '..')) cmd = ('%s setup.py clean --all' - ' install --force --home="%s" --install-lib="%s"' + ' install --force --prefix="%s" --install-lib="%s"' ' --install-scripts="%s" >%s 2>&1' % (sys.executable, INST, PYTHONDIR, BINDIR, installerrs)) vlog("# Running", cmd)