Permalink
Browse files

Close the makefile filehandle, in case of inlinin/embedding the ufo code

  • Loading branch information...
1 parent 52dc0de commit 973b2bd12de569341e50f6182e9c69420746d90a @tadzik tadzik committed with Aug 12, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 bin/ufo
View
3 bin/ufo
@@ -86,6 +86,7 @@ sub MAIN($filename = 'Makefile', Bool :$alpha) {
.subst('$sources', $sources)\
.subst('$scripts', $scripts)
);
+ $makefile.close;
}
sub get_scripts() {
@@ -105,7 +106,7 @@ sub get_sources() {
split "\n",
qx[find lib -name \*.pm -or -name \*.pm6];
- # To know the best order of compilation, we build a dependency graph of
+ # To know the best order of compilation, we build a dependency graph of
# all the modules in lib/. %usages_of ends up containing a graph, with
# the keys (containing names modules) being nodes, and the values
# (containing arrays of names) denoting directed edges.

0 comments on commit 973b2bd

Please sign in to comment.