this is not the case in minimalistic crossbuild sysroots.
Changes behavior of build: zic now get called with absolute path.
Following location get checked:
/usr/sbin/zic /usr/bin/zic /bin/zic /sbin/zic
SUSE and RHEL5 is using /usr/sbin/zic
ArchLinux seemd to use /usr/bin/zic at some point
done
if test -e $BUILD_ROOT/usr/share/zoneinfo/UTC ; then
- chroot $BUILD_ROOT zic -l UTC
+ for PROG in /usr/sbin/zic /usr/bin/zic /bin/zic /sbin/zic ; do
+ test -x $BUILD_ROOT/$PROG && chroot $BUILD_ROOT $PROG -l UTC
+ done
fi
test -e $BUILD_ROOT/.build/init_buildsystem.data || HOST=`hostname`