scripts/functions: Use stat correctly on non-GNU (BSD/Darwin) systems.
Call to get the directory mode depending on $CT_SYS_OS
yann.morin.1998@anciens.enib.fr:
CT_SYS_OS has changed on Linuxsystem, it only gets the kernel name "Linux",
and not the system name, 'GNU/'.
1 diff -durN ltrace-0.4.orig/Makefile.in ltrace-0.4/Makefile.in
2 --- ltrace-0.4.orig/Makefile.in 2008-10-26 15:34:21.000000000 +0100
3 +++ ltrace-0.4/Makefile.in 2008-10-26 15:37:40.000000000 +0100
6 ARCH := $(shell echo "@HOST_ARCH@" |sed -e s/i.86/i386/ \
8 + -e s/alpha.*/alpha/ \