Fix gbs build fails if packaging/ is a symlink
authorJunchun Guan <junchunx.guan@intel.com>
Mon, 3 Mar 2014 04:04:15 +0000 (12:04 +0800)
committerJunchun Guan <junchunx.guan@intel.com>
Wed, 5 Mar 2014 07:23:37 +0000 (15:23 +0800)
commit01e9d6dad9f730ad2726a2651f75a81919d4fd83
tree7c658405dd6ab51e94409e7ae19c681fff2063cf
parent53e10c6c975efb701cf70160c7465c23ff222e85
Fix gbs build fails if packaging/ is a symlink

gbs run `git ls-tree --name-only HEAD packaging` to search specs.
If packaging directory is a symlink, spec files cannot be found.

Fixes: #1630
Change-Id: I0b6262a0197de2c922a19e85687035111c92de0b
Signed-off-by: Junchun Guan <junchunx.guan@intel.com>
gitbuildsys/utils.py