forked from jquery/jquery
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Remove sed from post-build code, due to portability issues between GN…
…U and BSD versions. Follow up to ba43d37 which apparently didn't fix the problem completly on Mac OS X.
- Loading branch information
1 parent
3548ffa
commit 2862f58
Showing
2 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env node | ||
|
||
var print = require("sys").print, | ||
src = require("fs").readFileSync(process.argv[2], "utf8"); | ||
|
||
// Previously done in sed but reimplemented here due to portability issues | ||
print(src.replace(/^(\s*\*\/)(.+)/m, "$1\n$2;")); |