Correct incorrect brackets around variable.
This commit is contained in:
parent
70cfe11629
commit
ce45f8bc7d
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ store_attributes() {
|
||||||
ACL="$(getfacl -cEsp -- "$FILE" 2>/dev/null | base64 -w 0 2>/dev/null)"
|
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)"
|
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)" \
|
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
|
elif [[ "$PLATFORM" == "Darwin" ]]; then
|
||||||
# Darwin just has to be different, so no ACLs or xattrs.
|
# 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.
|
# Use the full path to Darwin's stat, in case there's a macports/brew/etc version installed.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue