Fix SDC_LOCAL_GITREPO for relative paths 96/96496/1
authorPetr Ospalý <p.ospaly@partner.samsung.com>
Wed, 2 Oct 2019 08:58:37 +0000 (10:58 +0200)
committerPetr Ospalý <p.ospaly@partner.samsung.com>
Wed, 2 Oct 2019 09:04:27 +0000 (11:04 +0200)
commitc49367b38ff63b5b97aec2f6192705c610a9099b
tree0750a7950c68dcaa8b4f64d0c2736187cbee498f
parent72b4bc7eb109847c023ffed5d26b0a832730dea5
Fix SDC_LOCAL_GITREPO for relative paths

SDC_LOCAL_GITREPO will not do what you want (most likely) if used
with a relative path - it worked only with an absolute one.

This commit fixes this but it adds a new requirement: 'realpath';
which should be on any system as it is part of the coreutils and
similar package sets.

Issue-ID: SDC-2553

Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
Change-Id: I2d79252cb315538997c91b754acb59f52469df00
scripts/sdc/setup_sdc_for_sanity.sh