From: Hugo Villeneuve Date: Wed, 23 Jul 2014 19:05:11 +0000 (-0400) Subject: Remove unnecessary spaces quoting X-Git-Url: http://gitweb.hugovil.com/?p=hvutilities.git;a=commitdiff_plain;h=cfa9caf6600913a0abe46bcc26a864e79bbec681 Remove unnecessary spaces quoting --- diff --git a/scripts/git-hg-sub-import b/scripts/git-hg-sub-import index 4baf1bc..9d6ae49 100755 --- a/scripts/git-hg-sub-import +++ b/scripts/git-hg-sub-import @@ -31,13 +31,10 @@ hg_parse_projrc() { fi # Repo name can have spaces in it, hence the use of ${*} - local repo_orig="${*}" local repo="${*}" - # Quote spaces - repo=${repo// /\\\\ } - if [ -f "${repo}/.hg/projrc" ]; then + TMPF="/tmp/$(basename $0).projrc-$$.tmp" # Create temporary copy to replace backslashes with slashes.