From baa0a24905ba33e79dde1867fe559541cc6202f3 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Wed, 2 Nov 2016 21:37:42 -0400 Subject: [PATCH] [SCons] Fix permissions error when installing to stage directory --- SConstruct | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/SConstruct b/SConstruct index 35aea8563..b3262285c 100644 --- a/SConstruct +++ b/SConstruct @@ -307,18 +307,11 @@ for key,value in defaults.__dict__.items(): # *** Read user-configurable options *** # ************************************** -# This check prevents requiring root permissions to build when the -# installation directory is not writable by the current user. -if 'install' in COMMAND_LINE_TARGETS: - installPathTest = PathVariable.PathIsDirCreate -else: - installPathTest = PathVariable.PathAccept - config_options = [ PathVariable( 'prefix', 'Set this to the directory where Cantera should be installed.', - defaults.prefix, installPathTest), + defaults.prefix, PathVariable.PathAccept), EnumVariable( 'python_package', """If you plan to work in Python, or you want to use the graphical