Changeset 741


Ignore:
Timestamp:
Mar 5, 2016, 7:43:28 PM (5 years ago)
Author:
amain
Message:

Set upload file permissions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/buildbot/upload.sh

    r724 r741  
    7777    dst=${type}/${ddir}/${arch}/${target}/
    7878
     79    find ${src} -type d -exec chmod 755 {} \;
     80    find ${src} -type f -exec chmod 644 {} \;
     81
    7982    ssh ${host} "rm -rf ${path}/${dst_mkdir}; mkdir -p ${path}/${dst_mkdir}"
    8083    scp -r ./${src} ${host}:${path}/${dst}
     
    9093    dst=${type}/${ddir}/${arch}/${release}
    9194
     95    find ${src} -type d -exec chmod 755 {} \;
     96    find ${src} -type f -exec chmod 644 {} \;
     97
    9298    ssh ${host} "rm -rf ${path}/${dst}; mkdir -p ${path}/${dst}"
    9399    scp -r ./${src}/* ${host}:${path}/${dst}
Note: See TracChangeset for help on using the changeset viewer.