Changeset 37316


Ignore:
Timestamp:
03/08/16 14:07:04 (7 years ago)
Author:
obi
Message:

move changelog bete > beta server update > update server

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/global.h

    r37216 r37316  
    71097109        char* tmpstr = NULL, *tmpstr1 = NULL, *tmpstr2 = NULL, *tmpstr3 = NULL, *path = NULL, *boxversion = NULL;
    71107110
     7111        if(file_exist("/etc/.beta"))
     7112                path = ostrcat("/svn/image-beta/changelog.", NULL, 0, 0);
     7113
    71117114        if(mode == 0)
    71127115        {
     
    71247127                boxversion = string_tolower(readsys("/etc/model", 1));
    71257128
    7126 //              if(file_exist("/etc/.beta"))
    7127                         path = ostrcat(path, "/svn/image-beta/changelog.", 1, 0);
    7128 //              else
    7129 //                      path = ostrcat(path, "/svn/image/changelog.", 1, 0);
    7130 
    71317129                path = ostrcat(path, boxversion, 1, 0);
    71327130                path = ostrcat(path, ".titan", 1, 0);
    71337131
    7134 //              if(file_exist("/etc/.beta"))
     7132                if(file_exist("/etc/.beta"))
    71357133                        tmpstr1 = gethttp("beta.dyndns.tv", path, 80, NULL, HTTPAUTH, 5000, NULL, 0);
    7136 //              else
    7137 //                      tmpstr1 = gethttp("atemio.dyndns.tv", path, 80, NULL, HTTPAUTH, 5000, NULL, 0);
     7134                else
     7135                        tmpstr1 = gethttp("atemio.dyndns.tv", path, 80, NULL, HTTPAUTH, 5000, NULL, 0);
    71387136
    71397137                tmpstr = readfromlinetoline(tmpstr1, 37, 537, 1);
     
    71417139        else if(mode == 2)
    71427140        {
    7143 //              if(file_exist("/etc/.beta"))
    71447141#ifdef MIPSEL
    7145                         path = ostrcat(path, "/svn/image-beta/changelog.git.mipsel", 1, 0);
     7142                path = ostrcat(path, "git.mipsel", 1, 0);
    71467143#else
    7147                         path = ostrcat(path, "/svn/image-beta/changelog.git.sh4", 1, 0);
     7144                path = ostrcat(path, "git.sh4", 1, 0);
    71487145#endif
    7149 //              else
    7150 //                      path = ostrcat(path, "/svn/image/changelog.git", 1, 0);
    7151 
    7152 //              if(file_exist("/etc/.beta"))
     7146
     7147                if(file_exist("/etc/.beta"))
    71537148                        tmpstr1 = gethttp("beta.dyndns.tv", path, 80, NULL, HTTPAUTH, 5000, NULL, 0);
    7154 //              else
    7155 //                      tmpstr1 = gethttp("atemio.dyndns.tv", path, 80, NULL, HTTPAUTH, 5000, NULL, 0);
     7149                else
     7150                        tmpstr1 = gethttp("atemio.dyndns.tv", path, 80, NULL, HTTPAUTH, 5000, NULL, 0);
    71567151
    71577152                tmpstr = readfromlinetoline(tmpstr1, 0, 500, 1);
Note: See TracChangeset for help on using the changeset viewer.