From: Joey Hess Date: Sun, 15 Aug 2010 16:36:28 +0000 (-0400) Subject: fix quoting X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/07489a34afa768aee3bc9f23860c8a3f0e55a1db?hp=9c3234f5d553312f47d934f70bd1481bed58df9e fix quoting --- 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'"