Only call zic if available in BUILD_ROOT
authorDaniel Gollub <gollub@b1-systems.de>
Mon, 23 Apr 2012 14:02:19 +0000 (16:02 +0200)
committerAdrian Schröter <adrian@suse.de>
Mon, 21 May 2012 12:50:39 +0000 (14:50 +0200)
commit0fbb24fe74e5ac07d32691cb9b84f623df8c46f0
tree9baecc65b95c3b4db5dd77bf900f059fb26e9f9c
parent72e8789b35c38f23f97af3cc14f1f7b97ac61bd5
Only call zic if available in BUILD_ROOT

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
init_buildsystem