From ce45f8bc7dae6824a9701fc17ff35ffe0454adcd Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Sat, 24 Aug 2024 21:13:26 +0100 Subject: [PATCH] Correct incorrect brackets around variable. --- gitattributesdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitattributesdb b/gitattributesdb index e5a9596..3b3ad79 100755 --- a/gitattributesdb +++ b/gitattributesdb @@ -100,7 +100,7 @@ store_attributes() { ACL="$(getfacl -cEsp -- "$FILE" 2>/dev/null | base64 -w 0 2>/dev/null)" XATTR="$(getfattr -dhe base64 -- "$FILE" 2>/dev/null | base64 -w 0 2>/dev/null)" printf "%s %s %s %s\\n" "$(printf "%s" "$FILE" | base64 -w 0 2>/dev/null)" "$(stat --printf '%.9Y %.9X %U:%G %.4a' -- "$FILE" 2>/dev/null)" \ - "$(ACL:--)" "${XATTR:--}" >>"$DB_TMP" + "${ACL:--}" "${XATTR:--}" >>"$DB_TMP" elif [[ "$PLATFORM" == "Darwin" ]]; then # Darwin just has to be different, so no ACLs or xattrs. # Use the full path to Darwin's stat, in case there's a macports/brew/etc version installed.