From a34c49dc91cc581d1f31dc04be2033737bd4767c Mon Sep 17 00:00:00 2001 From: anki-code Date: Wed, 25 Mar 2020 18:38:03 +0300 Subject: [PATCH] dirname --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 5dffaa9..c000f41 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -86,7 +86,7 @@ fi CURRENT_DIR="$(cd "$(dirname "$0")" && pwd)" cd $CURRENT_DIR -export XXH_HOME=`realpath -m $CURRENT_DIR/../../../../` +export XXH_HOME=`dirname -m $CURRENT_DIR/../../../../p` #export HISTORY_FILE=$XXH_HOME/.your_portable_shell_history #