diff --git a/scripts/nh-push b/scripts/nh-push index 1b8c295..28c6ead 100755 --- a/scripts/nh-push +++ b/scripts/nh-push @@ -8,7 +8,7 @@ set -e # Determine the absolute path of the directory containing this script. SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd) # The repository root is one level above the scripts directory. -REPO_ROOT="$SCRIPT_DIR/.." +REPO_ROOT=$(realpath "$SCRIPT_DIR/..") # --- Git Operations --- echo "Pulling latest changes from git..."