|
@ -3,7 +3,7 @@ |
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
# |
|
|
# |
|
|
# Filename: bin/sde-update-tree |
|
|
# Filename: bin/sde-update-tree |
|
|
# Copyright (C) 2007 - 2013 The OpenSDE Project |
|
|
|
|
|
|
|
|
# Copyright (C) 2007 - 2020 The OpenSDE Project |
|
|
# |
|
|
# |
|
|
# More information can be found in the files COPYING and README. |
|
|
# More information can be found in the files COPYING and README. |
|
|
# |
|
|
# |
|
@ -148,7 +148,7 @@ update_svn() |
|
|
# hunt for the roots of the sub-working trees |
|
|
# hunt for the roots of the sub-working trees |
|
|
# |
|
|
# |
|
|
baseurl="$( git config remote.origin.url | sed -e 's|/[^/]*$||' )" |
|
|
baseurl="$( git config remote.origin.url | sed -e 's|/[^/]*$||' )" |
|
|
[ -n "$baseurl" ] || baseurl="git://git.opensde.net/opensde" |
|
|
|
|
|
|
|
|
[ -n "$baseurl" ] || baseurl="https://git.opensde.net/opensde" |
|
|
|
|
|
|
|
|
for x in . package $( ls -1d package/* target/* 2> /dev/null ); do |
|
|
for x in . package $( ls -1d package/* target/* 2> /dev/null ); do |
|
|
if [ -e "$x" -a ! -d "$x/" ]; then |
|
|
if [ -e "$x" -a ! -d "$x/" ]; then |
|
|