mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-03 20:47:37 +03:00
Check for existence of realpath instead of operating system
This commit is contained in:
parent
040b476359
commit
e12cd83b80
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue