mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
re-implement realpath when it does NOT exist
This commit is contained in:
parent
7ffbcebe4e
commit
b367e105fa
@ -246,7 +246,7 @@ checkTransifexCommandExists() {
|
|||||||
|
|
||||||
# re-implement realpath for OS X (thanks mschrag)
|
# re-implement realpath for OS X (thanks mschrag)
|
||||||
# https://superuser.com/questions/205127/
|
# https://superuser.com/questions/205127/
|
||||||
if $(command -v realpath > /dev/null); then
|
if ! $(command -v realpath > /dev/null); then
|
||||||
realpath() {
|
realpath() {
|
||||||
pushd . > /dev/null
|
pushd . > /dev/null
|
||||||
if [ -d "$1" ]; then
|
if [ -d "$1" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user