diff options
author | Norbert Thiebaud <norbert@sqdata.com> | 2010-11-20 23:00:47 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-11-30 20:25:21 -0600 |
commit | 3288713ba610617677b26c212bf0c0314f65a362 (patch) | |
tree | 74d09604d3d004c0819333f118d16125a20941b9 /g | |
parent | 8a71b563c9c6aee048dd237d8c443a0505e5adf8 (diff) |
Make the determination of the remote repo url work on MacOS
Use bash substitution, instead of a piped sed
Diffstat (limited to 'g')
-rwxr-xr-x | g | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |