mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-10 16:49:38 -04:00
re-implement realpath when it does NOT exist
This commit is contained in:
parent
7ffbcebe4e
commit
b367e105fa
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue