X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/9c3234f5d553312f47d934f70bd1481bed58df9e..07489a34afa768aee3bc9f23860c8a3f0e55a1db:/mr?ds=sidebyside diff --git a/mr b/mr index 42ae961..6df8cd7 100755 --- a/mr +++ b/mr @@ -1667,7 +1667,7 @@ git_bare_register = mr -c "$MR_CONFIG" config "`pwd`" checkout="git clone --bare '$url' '$MR_REPO'" fossil_register = url=`fossil remote-url` - repo=`fossil info | grep repository | sed -e s/repository:*.//g -e s/\ //g` + repo=`fossil info | grep repository | sed -e 's/repository:*.//g' -e 's/ //g'` echo "Registering fossil repository $url in $MR_CONFIG" mr -c "$MR_CONFIG" config "`pwd`" checkout="mkdir -p '$MR_REPO' && cd '$MR_REPO' && fossil open '$repo'"