resolve zsh if symlink

This commit is contained in:
j3d1 2022-03-27 06:14:16 +02:00
parent deb2c57e5a
commit 9eb548c3b7

View file

@ -103,7 +103,7 @@ function unbox_inner_stage(){
exit 0 exit 0
} }
cd $(dirname $0) cd $(dirname $(realpath $0))
if [[ $# -ge 1 ]]; then if [[ $# -ge 1 ]]; then
CMD=$1 CMD=$1
shift shift