Skip to content

Commit

Permalink
function was defined twice, rm duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
danstowell committed Feb 19, 2012
1 parent 30c5395 commit 110136e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions common/SConstruct
Expand Up @@ -277,16 +277,6 @@ def make_local_symlink(target, source, env):
os.symlink(os.path.basename(str(source[0])), targetname)
return None

# for linking libX.so => libX.so.1 on *nixy systems. Note, they must be in same dir.
def make_local_symlink(target, source, env):
targetname = os.path.basename(str(target[0]))
if os.path.isfile(targetname):
if not os.path.islink(targetname):
liblog.error("ERROR: cannot create symlink %s because already exists as non-symlink." % (targetname))
else:
os.symlink(os.path.basename(str(source[0])), targetname)
return None

# ======================================================================
# command line options
# ======================================================================
Expand Down

0 comments on commit 110136e

Please sign in to comment.