Created
March 20, 2009 05:50
-
-
Save brapse/82243 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: SConstruct | |
=================================================================== | |
--- SConstruct (revision 8951) | |
+++ SConstruct (working copy) | |
@@ -16,7 +16,7 @@ | |
ANY_FILE_RE = re.compile('.*') | |
HOME_DIR_RE = re.compile(os.environ.get('HOME') + '.*') | |
-DEFAULT_PREFIX = '/usr/local/' | |
+DEFAULT_PREFIX = os.environ.get('PREFIX', '/usr/local/') | |
if os.path.isdir(os.path.join(DEFAULT_PREFIX, 'share/SuperCollider/Help/')): | |
DEFAULT_SC_HELP = os.path.join(DEFAULT_PREFIX, 'share/SuperCollider/Help/') | |
@@ -104,7 +104,7 @@ | |
Exit(1) | |
#get our variables from the options | |
-PREFIX = env.get('PREFIX') | |
+PREFIX = env.get('PREFIX') | |
VIMFILE_DIR = env.get('VIMFILE_DIR') | |
CACHE_DIR = env.get('CACHE_DIR') | |
SUPERCOLLIDER_HELP_DIR = env.get('SUPERCOLLIDER_HELP_DIR') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment