Allow local git clone in sync_repos.sh
authorSeungSeop Park <sns.park@samsung.com>
Mon, 24 Nov 2014 12:47:20 +0000 (21:47 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
commitb685e5fa50d35d0ab4dfe86dd2526d336cca8e22
tree65d4e3b98c23de2e4fac3c7314e0e449f170bbc6
parentef2ccaf442c4a2b07ebcf707a2dec12c47428430
Allow local git clone in sync_repos.sh

When cloning a repo from local machine, git is smart enough to
use hardlinking to save disk space. However, even if we clone
chromium-efl repo locally, we could not exploit this great feature
since sync_repos.sh will clone or update required repos from the
remote repositories hard coded in the script. As a result, we will
consume bigger disk space and more time unnecessarily.

This patch is to overcome the above mentioned limitation.
If chromium-efl is cloned from local directory, all the sub-repos
will be sync'd from the local directory. And for developer's
convenience the libraries compiled from jhbuild are cloned as well.

How to test:
$ git clone /path/to/chromium-efl chromium-efl-test
$ cd chromium-efl-test
$ ./sync_repo.sh
Reviewed by: Antonio Gomes, Min-Soo Koo, Tomasz Olszak

Change-Id: I753e8df2b9506f3d3d4149f4c4abccb51a7fc7c5
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
tizen_src/sync_repos.sh