From 1e5bd0a9871d8318af5da9c272dd70521f8e9d56 Mon Sep 17 00:00:00 2001 From: Mikkel Schmidt Date: Fri, 5 Jan 2024 06:42:30 +0100 Subject: [PATCH] Scripts: fix post-merge script dir --- scripts/ratos-post-merge.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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