When making a release, the bcrypt application directory does not contain an 'ebin' directory (it is in the .ez file), so "ebin/../priv" cannot be used to find the driver.  Instead, use another call to filename:dirname/1 to go up one more directory.

Also fix a small edoc annotation problem for bcrypt:hash/2.
1 file changed
tree: 7ad2a829ddec3e50ce2c1ce9f83a489664924ef0
  1. c_src/
  2. ebin/
  3. priv/
  4. src/
  5. test/
  6. .gitignore
  7. LICENSE
  8. Makefile
  9. README.rst
  10. rebar