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>