diff options
author | Guillaume Seguin <guillaume@segu.in> | 2008-03-20 23:21:39 +0100 |
---|---|---|
committer | Guillaume Seguin <guillaume@segu.in> | 2008-03-20 23:21:39 +0100 |
commit | 6b0781924ae510dc942cd5f299b830f74cf3dd21 (patch) | |
tree | 626d21a502eae59b98dc186772ad87078996ceaa | |
parent | 06c7c1ae7685fbda52a10522cf77ed57451ae7c7 (diff) | |
download | enso_linux-6b0781924ae510dc942cd5f299b830f74cf3dd21.tar.gz enso_linux-6b0781924ae510dc942cd5f299b830f74cf3dd21.tar.bz2 |
-rwxr-xr-x | linux/setup.py | 2 |
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] |