[pan2] Do not include https:// in GIT_REMOTE



commit 80566c8272ef5821b91a3ee9d53781df5d9b9eb7
Author: Petr Kovar <pknbe volny cz>
Date:   Tue Mar 8 23:44:51 2016 +0100

    Do not include https:// in GIT_REMOTE

 configure.ac |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7284ef7..a4cf8b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,10 +22,10 @@ else
         GIT_REMOTE=`echo $GIT_REMOTE | sed -e 's/ssh:\/\/.*@//g'`;;
       esac
       GIT_REMOTE=`echo $GIT_REMOTE | sed 's/ssh:\/\///g'`;;
-    esac
-    case "$GIT_REMOTE" in
       *git://* )
-       GIT_REMOTE=`echo $GIT_REMOTE | sed 's/git:\/\///g'`;;
+      GIT_REMOTE=`echo $GIT_REMOTE | sed 's/git:\/\///g'`;;
+      *https://* )
+      GIT_REMOTE=`echo $GIT_REMOTE | sed 's/https:\/\///g'`;;
     esac
   fi
 fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]