diff options
author | katleman <none@none> | 2012-07-18 14:18:48 -0700 |
---|---|---|
committer | katleman <none@none> | 2012-07-18 14:18:48 -0700 |
commit | 06c59558acf1e2c7195744adae8fa860dd2d8018 (patch) | |
tree | 364267d00c60f040ce948e06fdb97d128b65572a | |
parent | 2e00fd637a79820de5ea04d9da7e5b78855efef8 (diff) | |
parent | c02f07299d931ea90bf429fd750f3c8f1fb749ec (diff) |
Mergejdk8-b48
-rw-r--r-- | make/scripts/hgforest.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/make/scripts/hgforest.sh b/make/scripts/hgforest.sh index aa67490..5906f72 100644 --- a/make/scripts/hgforest.sh +++ b/make/scripts/hgforest.sh @@ -98,7 +98,8 @@ for i in ${repos} ; do ( ( if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then - cline="hg clone ${pull_default}/${i} ${i}" + pull_newrepo="`echo ${pull_default}/${i} | sed -e 's@\([^:]/\)//*@\1@g'`" + cline="hg clone ${pull_newrepo} ${i}" echo "# ${cline}" ( eval "${cline}" ) else @@ -121,7 +122,8 @@ if [ "${repos_extra}" != "" ] ; then n=`expr ${n} '+' 1` ( ( - cline="hg clone ${pull_extra}/${i} ${i}" + pull_newextrarepo="`echo ${pull_extra}/${i} | sed -e 's@\([^:]/\)//*@\1@g'`" + cline="hg clone ${pull_newextrarepo} ${i}" echo "# ${cline}" ( eval "${cline}" ) echo "# exit code $?" |