Changeset 8fe5a50 in sasview


Ignore:
Timestamp:
Sep 19, 2011 11:41:58 AM (13 years ago)
Author:
Jae Cho <jhjcho@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
5f3164c
Parents:
a48ecbd
Message:

fixed change sansview folder mod to w+r

Location:
sansview
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sansview/build_sansview.py

    r989767c r8fe5a50  
    132132        @param url: URL of the SVN repo 
    133133    """ 
    134     print "PYTHON, LIB_FOLDER=====",PYTHON, LIB_FOLDER 
     134    #print "PYTHON, LIB_FOLDER=====",PYTHON, LIB_FOLDER 
    135135    logging.info("Installing %s" % url) 
    136136    try: 
     
    266266        # try to make the sansview dir writable  
    267267        try: 
    268             os.system("chmod 777 -R %s"% sansview_foler) 
     268            if sys.platform == 'darwin': 
     269                os.system("chmod -R g+w %s"% sansview_foler)  
     270            else: 
     271                os.system("chmod 777 -R %s"% sansview_foler) 
    269272        except: 
    270273            pass 
  • sansview/build_tar.py

    r6367ec5 r8fe5a50  
    317317        # try to make the sansview dir writable  
    318318        try: 
    319             os.system("chmod -R g+w %s"% sansview_foler) 
     319            if sys.platform == 'darwin': 
     320                os.system("chmod -R g+w %s"% sansview_foler)  
     321            else: 
     322                os.system("chmod 777 -R %s"% sansview_foler) 
    320323        except: 
    321324            pass 
  • sansview/setup_all.py

    rfafdfd3 r8fe5a50  
    194194    os.chdir(wd)  
    195195    try: 
    196         os.system("chmod 777 -R %s"% setup_dir) 
     196        if sys.platform == 'darwin': 
     197            os.system("chmod -R g+w %s"% setup_dir)  
     198        else: 
     199            os.system("chmod 777 -R %s"% setup_dir) 
    197200    except: 
    198201        print "Could not give a permission to everyone for %s." % setup_dir 
Note: See TracChangeset for help on using the changeset viewer.