mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
nightly build: Translate svn+ssh URLs into svn URLs
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4895 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -55,7 +55,7 @@ usage () {
|
||||
|
||||
scst_rootdir="$(dirname "$(dirname "$(cd "$(dirname "$0")" && echo "$PWD")")")"
|
||||
if svn info . >/dev/null 2>&1; then
|
||||
scst_repo="$(svn info "$scst_rootdir" | sed -n 's/^URL: //p')"
|
||||
scst_repo="$(svn info "$scst_rootdir" | sed -n -e 's|\+ssh://[^@]*@|://|' -e 's/^URL: //p')"
|
||||
else
|
||||
scst_repo="$scst_rootdir"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user