提交 249ac2a7 编写于 作者: O ohair

7167976: Fix broken get_source.sh script

Reviewed-by: tbell
上级 cd46c435
...@@ -59,8 +59,8 @@ if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then ...@@ -59,8 +59,8 @@ if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then
done done
if [ "${pull_extra_base}" != "" ] ; then if [ "${pull_extra_base}" != "" ] ; then
subrepos_extra="jdk/src/closed jdk/make/closed jdk/test/closed hotspot/src/closed hotspot/test/closed deploy install sponsors pubs" subrepos_extra="jdk/src/closed jdk/make/closed jdk/test/closed hotspot/src/closed hotspot/test/closed deploy install sponsors pubs"
pull_default_base=`echo ${pull_default} | sed -e 's@\(^.*://[^/]*\)/.*@\1@'` pull_default_tail=`echo ${pull_default} | sed -e 's@^.*://[^/]*/\(.*\)@\1@'`
pull_extra=`echo ${pull_default} | sed -e "s@${pull_default_base}@${pull_extra_base}@"` pull_extra="${pull_extra_base}/${pull_default_tail}"
for i in ${subrepos_extra} ; do for i in ${subrepos_extra} ; do
if [ ! -f ${i}/.hg/hgrc ] ; then if [ ! -f ${i}/.hg/hgrc ] ; then
repos_extra="${repos_extra} ${i}" repos_extra="${repos_extra} ${i}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册