Skip to content

Commit

Permalink
remove munger.o once munger.exe is created
Browse files Browse the repository at this point in the history
  • Loading branch information
ptroja committed Sep 19, 2014
1 parent 5d61a3a commit 14bb475
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/TeX/poly-mkmkmunge.ML
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ in
val flags = if staticp then POLY_LDFLAGS_STATIC else POLY_LDFLAGS
val res = systeml ([CC, "-o", exe, "munger.o"] @ flags)
in
if OS.Process.isSuccess res then ()
if OS.Process.isSuccess res
then OS.FileSys.remove "munger.o"
else die "Linking of Poly/ML object code failed"
end
end
Expand Down

0 comments on commit 14bb475

Please sign in to comment.