Subversion Repositories slepc-dev

Compare Revisions

Ignore whitespace Rev 1687 → Rev 1688

/trunk/config/configure.py
139,7 → 139,7
slepcdir = os.environ['SLEPC_DIR']
if not os.path.exists(slepcdir) or not os.path.exists(os.sep.join([slepcdir,'config'])):
sys.exit('ERROR: SLEPC_DIR enviroment variable is not valid')
if os.getcwd() != slepcdir:
if os.path.realpath(os.getcwd()) != os.path.realpath(slepcdir):
sys.exit('ERROR: SLEPC_DIR is not the current directory')
 
if 'PETSC_DIR' not in os.environ:
/branches/slepc-3_0_0-branch/config/configure.py
139,7 → 139,7
slepcdir = os.environ['SLEPC_DIR']
if not os.path.exists(slepcdir) or not os.path.exists(os.sep.join([slepcdir,'config'])):
sys.exit('ERROR: SLEPC_DIR enviroment variable is not valid')
if os.getcwd() != slepcdir:
if os.path.realpath(os.getcwd()) != os.path.realpath(slepcdir):
sys.exit('ERROR: SLEPC_DIR is not the current directory')
 
if 'PETSC_DIR' not in os.environ: