summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2008-03-20 23:21:39 +0100
committerGuillaume Seguin <guillaume@segu.in>2008-03-20 23:21:39 +0100
commit6b0781924ae510dc942cd5f299b830f74cf3dd21 (patch)
tree626d21a502eae59b98dc186772ad87078996ceaa
parent06c7c1ae7685fbda52a10522cf77ed57451ae7c7 (diff)
downloadenso_linux-master.tar.gz
enso_linux-master.tar.bz2
* Set default install prefix to sys.prefixHEADmaster
-rwxr-xr-xlinux/setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/setup.py b/linux/setup.py
index ecbfda9..b6c623e 100755
--- a/linux/setup.py
+++ b/linux/setup.py
@@ -123,7 +123,7 @@ if len (sys.argv) > 2:
if not prefix and "PREFIX" in os.environ:
prefix = os.environ["PREFIX"]
if not prefix or not len (prefix):
- prefix = "/usr/local"
+ prefix = sys.prefix
if sys.argv[1] in ("install", "uninstall") and len (prefix):
sys.argv += ["--prefix", prefix]