mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Check for existence of realpath instead of operating system
This commit is contained in:
parent
040b476359
commit
e12cd83b80
@ -246,7 +246,7 @@ checkTransifexCommandExists() {
|
||||
|
||||
# re-implement realpath for OS X (thanks mschrag)
|
||||
# https://superuser.com/questions/205127/how-to-retrieve-the-absolute-path-of-an-arbitrary-file-from-the-os-x
|
||||
if [ "$(uname -s)" == "Darwin" ]; then
|
||||
if $(command -v realpath > /dev/null); then
|
||||
realpath() {
|
||||
pushd . > /dev/null
|
||||
if [ -d "$1" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user