Kaydet (Commit) 3288713b authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud Kaydeden (comit) Norbert Thiebaud

Make the determination of the remote repo url work on MacOS

Use bash substitution, instead of a piped sed
üst 8a71b563
......@@ -2,7 +2,7 @@
#
# Wrapper for git to handle more subdirs at the same time
#
set -x
# no params, no action
if [ "$#" -eq "0" ] ; then
git
......@@ -187,7 +187,8 @@ for REPO in $DIRS ; do
fi
;;
clone)
EXTRA="$(git config remote.origin.url|sed 's|/[^/]\+$||')/${REPO}"
EXTRA="$(git config remote.origin.url)"
EXTRA=${EXTRA/bootstrap/${REPO}}
;;
esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment