changing the Unihan.zip source from ftp to http in order to getting more stable download.

This commit is contained in:
Shinjiman 2009-05-19 14:54:49 +00:00
parent b7f93df5b8
commit fe26b6a4d7
2 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@ all: ZhConversion.php tradphrases.notsure simpphrases.notsure wordlist toHans.di
# Download Unihan database and Traditional Chinese / Simplified Chinese phrases files
Unihan.zip:
wget -nc ftp://ftp.unicode.org/Public/UNIDATA/Unihan.zip
wget -nc http://www.unicode.org/Public/UNIDATA/Unihan.zip
scim-tables-$(SCIM_TABLES_VER).tar.gz:
wget -nc http://$(SF_MIRROR).dl.sourceforge.net/sourceforge/scim/scim-tables-$(SCIM_TABLES_VER).tar.gz

View file

@ -239,7 +239,7 @@ def RemoveSameChar( src_table ):
def main():
#Get Unihan.zip:
url = 'ftp://ftp.unicode.org/Public/UNIDATA/Unihan.zip'
url = 'http://www.unicode.org/Public/UNIDATA/Unihan.zip'
han_dest = 'Unihan.zip'
GetFileFromURL( url, han_dest )
@ -435,4 +435,4 @@ $zh2Hant = array(\n'''
f.close()
if __name__ == '__main__':
main()
main()