Update script updated.

This commit is contained in:
gyboth 2008-11-26 14:49:53 +00:00
parent 0bd87502c3
commit 5990782edd
1 changed files with 2 additions and 2 deletions

View File

@ -385,7 +385,7 @@ function get_team_defs()
uri) uri=$value ;;
team_name1) team_name1="$value" ;;
team_name2) team_name2="$value" ;;
country) country=$value ;;
country) country=$(find .. -type d -name $value | tail -n 1);;
esac
fi
fi
@ -409,7 +409,7 @@ function get_country_files()
while read -d : oldname && read newname
do
if [ "$oldname" = "League" ]; then
DIRNAME=$(find . -type d -name $newname)
DIRNAME=$(find . -type d -name $newname | tail -n 1)
if [ ! $DIRNAME = "" ]; then
my_echo " + Adding official names to $DIRNAME..."
fi