if test "$1" != "$2" && test "$GLIBC2" = no; then
case "$host_os" in
solaris2.11)
- cp -R "$1" "$2"
+ # Copy the contents of "$1" into "$2", preserving the existing contents
+ # of "$2".
+ mkdir -p "$2"
+ for d in `cd "$1" && find . -type d -print | grep -v '^[.]$' | sed -e 's|^[.]/||'`; do
+ mkdir -p "$2/$d"
+ done
+ for f in `cd "$1" && find . -type f -print`; do
+ if test -f "$2/$f"; then
+ :
+ else
+ ln "$1/$f" "$2/$f"
+ fi
+ done
;;
esac
fi
# they are not supported in the fr_FR.ISO-8859-1 locale.
;;
*)
- prepare_locale_ in-7/fr in-7/$LOCALE_FR
prepare_locale_ in-7/fr_FR in-7/$LOCALE_FR
+ prepare_locale_ in-7/fr in-7/$LOCALE_FR
prepare_locale_ "${ldir}"/fr "${ldir}"/$LOCALE_FR
../intl-7-prg "${ldir}" in-7 $LOCALE_FR > in-7.tmp || Exit 1
LC_ALL=C tr -d '\r' < in-7.tmp > in-7.out || Exit 1
esac
fi
if test $LOCALE_FR_UTF8 != none; then
- prepare_locale_ in-7/fr in-7/$LOCALE_FR_UTF8
prepare_locale_ in-7/fr_FR in-7/$LOCALE_FR_UTF8
+ prepare_locale_ in-7/fr in-7/$LOCALE_FR_UTF8
prepare_locale_ "${ldir}"/fr "${ldir}"/$LOCALE_FR_UTF8
../intl-7-prg "${ldir}" in-7 $LOCALE_FR_UTF8 > in-7.tmp || Exit 1
LC_ALL=C tr -d '\r' < in-7.tmp > in-7.out || Exit 1