[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [Repo-Management] 92fea8b: Simplify.
From: Eike Hein <hein () kde ! org>
Date: 2010-11-09 23:17:46
Message-ID: 20101109231746.5745CA60A6 () git ! kde ! org
[Download RAW message or body]
commit 92fea8be6c25d667df9cd446cecb004072f09fa7
branch master
Author: Eike Hein <hein@kde.org>
Date: Wed Nov 10 00:17:49 2010 +0100
Simplify.
diff --git a/hooks/update.secondary b/hooks/update.secondary
index a72f7dc..a55d5a9 100755
--- a/hooks/update.secondary
+++ b/hooks/update.secondary
@@ -66,8 +66,7 @@ thirddir=$(cd ..; cd ..; cd ..; basename $(pwd))
fourthdir=$(cd ..; cd ..; cd ..; cd ..; basename $(pwd))
if [ ! -f commiturl ]; then
- urlpath=${currpath#/srv/kdegit/repositories/}
- urlpath=${urlpath%.git}
+ urlpath=${repopath%.git}
cat > cloneurl << EOF
Pull (read-only): git://anongit.kde.org/$urlpath
Pull (read-only): http://anongit.kde.org/$urlpath
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic