[Blends-commit] [SCM] website branch, master, updated. 9dc7cebccb08891cd9ed03b642817ccd8158df1e

Andreas Tille tille at debian.org
Mon Feb 5 15:07:05 UTC 2018


The following commit has been merged in the master branch:
commit 9dc7cebccb08891cd9ed03b642817ccd8158df1e
Author: Andreas Tille <tille at debian.org>
Date:   Mon Feb 5 16:06:38 2018 +0100

    Detect Vcs type in shell script

diff --git a/webtools/check-all-tasks b/webtools/check-all-tasks
index 97bdf3d..9ca6687 100755
--- a/webtools/check-all-tasks
+++ b/webtools/check-all-tasks
@@ -35,7 +35,7 @@ for bc in `ls webconf/*.conf | grep -v -e "webconf/fun\." -e rest-test` ; do
     vcsurl=`grep "^VcsDir:" ${bc} | sed 's/^VcsDir:\s*//'`
     vcstype=`echo ${vcsurl} | sed 's/^\([a-z]\{3\}\):.*/\1/'`
     if [ "$vcstype" != "git" -a "$vcstype" != "svn" ] ; then
-        if echo ${vcsurl} | grep -q '^https://github' ; then
+        if echo ${vcsurl} | grep -q -e '^https://github' -e '^https://salsa.debian.org' ; then
             vcstype=git
         else
             vcstype=unknown

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list