Skip to content
Snippets Groups Projects
Commit 5b3f171a authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Attempt to fix resource.sh in both BSD/Linux (stat command).

Commit refs #831.
parent 0c1131d2
Branches
Tags
No related merge requests found
......@@ -19,7 +19,7 @@ header="${1%.*}_rc"
header=`basename ${header}`
# Get file size and dump content
size=`stat -f "%z" ${1} 2>/dev/null`
size=`stat --format "%s" ${1} 2>/dev/null`
dump=`${hd} "${fmt}" ${1} 2>/dev/null`
# Format file size variable
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment