From 4eaf531b3b6205c54792eb59ce0c9aa0eb772359 Mon Sep 17 00:00:00 2001 From: chris1111 Date: Tue, 11 Nov 2025 06:32:10 -0500 Subject: [PATCH] Fix command substitution in revision retrieval Corrected the command substitution for obtaining the latest tag revision in the makeV2 script by quoting the argument to git describe. This improves compatibility and prevents potential parsing errors. --- CloverPackage/makeV2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CloverPackage/makeV2 b/CloverPackage/makeV2 index 1516c7f564..a07478e080 100755 --- a/CloverPackage/makeV2 +++ b/CloverPackage/makeV2 @@ -5,7 +5,7 @@ cd "$(dirname $([ -L $0 ] && readlink $0 || echo $0))" ROOT="$PWD" SYMROOT="${ROOT}"/sym -REVISION=$(git describe --tags $(git rev-list --tags --max-count=1)) +REVISION=$(git describe --tags "$(git rev-list --tags --max-count=1)") # zip CloverV2, excluding all .empty and all .DS_Store zip -qr CloverV2-${REVISION}.zip CloverV2 -x "*/.DS_Store" "*/.empty"