Skip to content

Commit

Permalink
Merge pull request emscripten-core#3529 from juj/no_relpath_in_emar
Browse files Browse the repository at this point in the history
Remove unnecessary relpath in emar. Fixes emscripten-core#3525.
  • Loading branch information
kripken committed Jun 10, 2015
2 parents 200e17e + 9de07c2 commit 3cf4e7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emar
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if len(newargs) > 2:
parts = base_name.split('.')
parts[0] += '_' + h
newname = '.'.join(parts)
full_newname = os.path.relpath(os.path.join(dir_name, newname))
full_newname = os.path.join(dir_name, newname)
if not os.path.exists(full_newname):
try: # it is ok to fail here, we just don't get hashing
shutil.copyfile(orig_name, full_newname)
Expand Down

0 comments on commit 3cf4e7e

Please sign in to comment.