From 188fff1488ba72a94c3f378a2e6ab232e896355f Mon Sep 17 00:00:00 2001 From: Janek Bevendorff Date: Sat, 29 Oct 2022 23:01:37 +0200 Subject: [PATCH] Fix realpath error on macOS 13 (#8707) --- release-tool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release-tool b/release-tool index 026c2ce63..920edba06 100755 --- a/release-tool +++ b/release-tool @@ -883,7 +883,6 @@ build() { fi fi - OUTPUT_DIR="$(realpath "$OUTPUT_DIR")" if ! ${build_snapshot} && [ -d "$OUTPUT_DIR" ]; then exitError "Output dir '${OUTPUT_DIR}' already exists." fi @@ -892,6 +891,7 @@ build() { if ! mkdir -p "$OUTPUT_DIR"; then exitError "Failed to create output directory!" fi + OUTPUT_DIR="$(realpath "$OUTPUT_DIR")" if ${build_source_tarball}; then logInfo "Creating source tarball..."