diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2017-10-28 23:59:58 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2017-10-28 23:59:58 -0600 |
| commit | ee4ec9696f05909ed79e9cd5606d8083a96c16ec (patch) | |
| tree | 9a04064ddff3bd56412fbfdb44902236d7d0ffa3 /bin | |
| parent | 0ced7f97fffd9669d54211a85c71ddbf74a82e6f (diff) | |
look for correct file to require in bin script
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/asciidoctor-pdf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/asciidoctor-pdf b/bin/asciidoctor-pdf index 6649aaf7..1036cf5b 100755 --- a/bin/asciidoctor-pdf +++ b/bin/asciidoctor-pdf @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -if File.exist?(asciidoctor_pdf = (File.expand_path '../../lib/asciidoctor-pdf', __FILE__)) +if File.file?(asciidoctor_pdf = (File.expand_path '../../lib/asciidoctor-pdf.rb', __FILE__)) require asciidoctor_pdf else require 'asciidoctor-pdf' |
