Commit d670f948 authored by mh's avatar mh
Browse files

fix detecting new repo location

parent adc61ed2
...@@ -11,7 +11,7 @@ if [ $1 = 'all' ]; then ...@@ -11,7 +11,7 @@ if [ $1 = 'all' ]; then
for i in $(ls $basedir/*/www/SSI.php); do for i in $(ls $basedir/*/www/SSI.php); do
wwwdir=$(dirname $i) wwwdir=$(dirname $i)
if [ -d "${wwwdir}/.git" ]; then if [ -d "${wwwdir}/.git" ]; then
git --git-dir=${wwwdir}/.git remote -v | grep '(fetch)' | awk '{ print $2 }' | grep -q 'ismf.git' git --git-dir=${wwwdir}/.git remote -v | grep '(fetch)' | awk '{ print $2 }' | grep -q '/smf.git$'
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
name=$(basename $(dirname $wwwdir)) name=$(basename $(dirname $wwwdir))
smfs="${smfs}${name} " smfs="${smfs}${name} "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment