diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-01 21:00:43 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-01 21:00:43 +0100 |
commit | d9a3994a44d79ed167f41db09edd0dae41566b55 (patch) | |
tree | a551f81553f7d575721869b684958549a56af8cb | |
parent | 4f3783df6a6af03fa1b672b936d45d601512ae6d (diff) | |
parent | 9d40adece525b0989001e3a8f486e76b3996f8e5 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
-rwxr-xr-x | scripts/install.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/install.sh b/scripts/install.sh index 8eb6ee062..7b3b5bc4d 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -201,10 +201,10 @@ if (( cyls < (cfgfs + 2) )); then exit 1 fi -if stat --help >/dev/null 2>&1; then - statcmd='stat -c %s' # GNU stat -else +if stat -qs .>/dev/null 2>&1; then statcmd='stat -f %z' # BSD stat (or so we assume) +else + statcmd='stat -c %s' # GNU stat fi if ! T=$(mktemp -d /tmp/openadk.XXXXXXXXXX); then |