diff --git a/git-clone.sh b/git-clone.sh
index 5bfd8d1556bb7d0da0beaf3685b2350af20e1e15..3a410624d374e9d02b305a25469176e4d4e725e6 100755 (executable)
--- a/git-clone.sh
+++ b/git-clone.sh
get_repo_base() {
(
cd "`/bin/pwd`" &&
- cd "$1" &&
+ cd "$1" || cd "$1.git" &&
{
cd .git
pwd