Skip to content

Commit

Permalink
trunk: Fix bug which occurred after building SGpp, then moving the co…
Browse files Browse the repository at this point in the history
…mplete SGpp directory to another position in the filesystem, and then trying to recompile, which led to SCons complaining with the *very* helpful error message 'File exists'. :/

git-svn-id: https://ipvs.informatik.uni-stuttgart.de/SGpp/repos/trunk@4919 4eea3252-f0fb-4393-894d-40516dce545b
  • Loading branch information
valentjn committed Sep 21, 2015
1 parent 2ce996f commit 60bf912
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pysgpp/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ def setupPython(target, source, env):
"python")).abspath
dst = os.path.join(extensionsPath, pythonModuleFolder)
if not os.path.exists(dst):
if os.path.lexists(dst):
os.remove(dst)
os.symlink(src, dst)

# create __init__.py file which imports all the extensions
Expand Down

0 comments on commit 60bf912

Please sign in to comment.