diff options
| author | Jack Nagel | 2013-08-13 09:17:39 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-08-13 09:22:45 -0500 |
| commit | 83e7e2381cfbb1adadc682e81198b5e630f48fd4 (patch) | |
| tree | bfcb7c02bf4ed7b8d527beef7ca9a3fb5de32a87 /Library/Formula | |
| parent | 0bf55b1cdaec1cadb9b58d8cf71bec61baee71cc (diff) | |
| download | homebrew-83e7e2381cfbb1adadc682e81198b5e630f48fd4.tar.bz2 | |
docbook-xsl: use write_exec_script
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/docbook-xsl.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Formula/docbook-xsl.rb b/Library/Formula/docbook-xsl.rb index 38b6acd1b..a89e68250 100644 --- a/Library/Formula/docbook-xsl.rb +++ b/Library/Formula/docbook-xsl.rb @@ -23,10 +23,7 @@ class DocbookXsl < Formula system "xmlcatalog", "--noout", "--add", "nextCatalog", "", "file://#{catalog}", "#{etc}/xml/catalog" end - (bin/'dbtoepub').write <<-EOS.undent - #!/bin/sh - exec "#{prefix}/docbook-xsl/epub/bin/dbtoepub" "$@" - EOS + bin.write_exec_script "#{prefix}/docbook-xsl/epub/bin/dbtoepub" end end |
