From 9eb548c3b784722984271fd2a3ae6f0ffadfe2cc Mon Sep 17 00:00:00 2001 From: jedi Date: Sun, 27 Mar 2022 06:14:16 +0200 Subject: [PATCH] resolve zsh if symlink --- unbox.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unbox.sh b/unbox.sh index 92b84d3..935be37 100755 --- a/unbox.sh +++ b/unbox.sh @@ -103,7 +103,7 @@ function unbox_inner_stage(){ exit 0 } -cd $(dirname $0) +cd $(dirname $(realpath $0)) if [[ $# -ge 1 ]]; then CMD=$1 shift