diff --git a/scripts/ratos-post-merge.sh b/scripts/ratos-post-merge.sh index f5a019f3..1c8590e6 100755 --- a/scripts/ratos-post-merge.sh +++ b/scripts/ratos-post-merge.sh @@ -1,5 +1,5 @@ #!/bin/bash -SCRIPT_DIR=$(realpath "$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )") +SCRIPT_DIR=$( cd -- "$( dirname -- "$(realpath -- "${BASH_SOURCE[0]}")" )" &> /dev/null && pwd ) # shellcheck source=./scripts/ratos-update.sh sudo "$SCRIPT_DIR"/ratos-update.sh