Correct INODECMD for BSD and Darwin

Fixes FS#35469.

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Allan McRae 2013-06-06 13:57:06 +10:00
parent 450be928da
commit 3e0e748b93
1 changed files with 2 additions and 2 deletions

View File

@ -313,14 +313,14 @@ STRIP_SHARED="--strip-unneeded"
STRIP_STATIC="--strip-debug"
case "${host_os}" in
*bsd*)
INODECMD="stat -f '%i %n'"
INODECMD="stat -f '%i %N'"
SIZECMD="stat -f %z"
SEDINPLACE="sed -i \"\""
DUFLAGS="-sk"
;;
darwin*)
host_os_darwin=yes
INODECMD="/usr/bin/stat -f '%i %n'"
INODECMD="/usr/bin/stat -f '%i %N'"
SIZECMD="/usr/bin/stat -f %z"
SEDINPLACE="/usr/bin/sed -i ''"
DUFLAGS="-sk"