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 gcc-4.4.0.orig/libiberty/Makefile.in gcc-4.4.0/libiberty/Makefile.in
3 diff -durN gcc-4.4.4.orig/libiberty/Makefile.in gcc-4.4.4/libiberty/Makefile.in
4 --- gcc-4.4.4.orig/libiberty/Makefile.in 2008-10-22 15:30:19.000000000 +0200
5 +++ gcc-4.4.4/libiberty/Makefile.in 2010-05-16 19:13:20.000000000 +0200
7 $(AR) $(AR_FLAGS) $(TARGETLIB) \
8 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
9 $(RANLIB) $(TARGETLIB); \
10 + cp $(TARGETLIB) ../ ; \