Changeset 6426


Ignore:
Timestamp:
Feb 26, 2009, 10:51:59 PM (16 years ago)
Author:
ole
Message:

Made create distribution.py always attempt to upload to the ANU

File:
1 edited

Legend:

Unmodified
Added
Removed
  • create_distribution.py

    r6124 r6426  
    280280
    281281
     282# Copy to the ANU
     283#s = 'rsync -avz %s/* ole@datamining.anu.edu.au:public_html/software/anuga/%s' %(release_dir, 'anuga_%s' %revision)
     284s = 'scp -r %s ole@datamining.anu.edu.au:public_html/software/anuga' %(release_dir)       
     285print s
     286system(s)
     287   
     288   
    282289#----------------------------
    283290# Throw away code to drop all files into the RAMP download area
     
    285292# automatically.
    286293
     294
    287295if get_user_name() == 'ole' and get_host_name() == 'nautilus':
    288296
    289297
    290     answer = raw_input('Do you want to move this to perlite and ANU? Y/N [Y]')
     298    answer = raw_input('Do you want to move this to the GA NAS? Y/N [Y]')
    291299    if answer.lower() == 'n':
    292300        import sys; sys.exit()
     
    303311
    304312
    305     # Copy to the ANU
    306     #s = 'rsync -avz %s/* ole@datamining.anu.edu.au:public_html/software/anuga/%s' %(release_dir, 'anuga_%s' %revision)
    307     s = 'scp -r %s ole@datamining.anu.edu.au:public_html/software/anuga' %(release_dir)       
    308     print s
    309     system(s)
    310    
    311    
    312     print 'Remember to update'
    313     print '    anuga_whats_new.tex'
    314     print '    sourceforge'
    315    
     313   
     314   
     315print 'Remember to update'
     316print '    anuga_whats_new.tex'
     317print '    sourceforge'
     318   
Note: See TracChangeset for help on using the changeset viewer.