Index: git-cl |
diff --git a/git-cl b/git-cl |
index 4c568f7b6ca2170aaeeb1c74e7ec5102e96aae83..2d9ac30426d9b480ca1193dbc7d1db8b212f84de 100755 |
--- a/git-cl |
+++ b/git-cl |
@@ -4,7 +4,7 @@ |
# found in the LICENSE file. |
base_dir=$(dirname "$0") |
-repo="$base_dir/git-cl-repo" |
+repo="$base_dir/git_cl_repo" |
url="http://src.chromium.org/git/git-cl.git" |
cur_url=$(git config -f "$repo/.git/config" remote.origin.url) |
@@ -26,10 +26,10 @@ fi |
if [ ! -f "$repo/git-cl" ]; then |
git clone $url $repo -q |
-elif [ ! -e "$base_dir/git-cl-repo/.git" ]; then |
- echo "$0: $base_dir/git-cl-repo does not appear to be a git repo" |
+elif [ ! -e "$repo/.git" ]; then |
+ echo "$0: $repo does not appear to be a git repo" |
elif [ "X$DEPOT_TOOLS_UPDATE" != "X0" ]; then |
- (cd "$base_dir/git-cl-repo"; git pull -q) |
+ (cd "$repo"; git pull -q) |
fi |
$repo/git-cl "$@" |