Menu

#1034 OS X - startkeepass.sh fails in case sensitive filesystem

KeePass_2.x
closed
nobody
None
5
2015-01-25
2012-09-17
No

The contents of KeePass2.18.app/Contents/MacOS/startkeepass.sh:
-----
#!/bin/bash
KeePath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
mono --desktop /$KeePath/Keepass.exe >> /dev/null
-----

This script fails in a case sensitive filesystem (not the default in OS X) as it references Keepass.exe. The referenced executable is named KeePass.exe. The script out to look like :

-----
#!/bin/bash
KeePath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
mono --desktop /$KeePath/KeePass.exe >> /dev/null
-----

This is definitely an edge case, but presented enough of a headache for me to submit this bug.

Discussion

  • Dominik Reichl

    Dominik Reichl - 2012-12-15
    • status: open --> closed
    • milestone: --> KeePass_2.x
     
  • Dominik Reichl

    Dominik Reichl - 2012-12-15

    The maintainer of the Mac OS X package has fixed this in the 2.20.1 package.

    Thanks and best regards
    Dominik

     

Log in to post a comment.