Use BSD style format when calling stat

This commit is contained in:
Michael Boelen 2020-06-26 09:53:23 +02:00
parent f00637d433
commit 871f95cbf3
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04

View File

@ -1290,7 +1290,8 @@
if [ -n "${STATBINARY}" ]; then if [ -n "${STATBINARY}" ]; then
case ${OS} in case ${OS} in
*BSD) *BSD | "macOS")
# BSD and macOS have no --format, only short notation
DATA=$(${STATBINARY} -f "%OLp" ${CHECKFILE}) DATA=$(${STATBINARY} -f "%OLp" ${CHECKFILE})
;; ;;
*) *)