[Bio] / FigCommon / switch_to_release.pl Repository:
ViewVC logotype

Diff of /FigCommon/switch_to_release.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4, Fri Dec 19 20:06:27 2003 UTC revision 1.5, Fri Dec 19 20:56:03 2003 UTC
# Line 52  Line 52 
52  symlink("../dist/releases/$release_number/CGI", "$FIG_Config::fig_disk/FIG/CGI");  symlink("../dist/releases/$release_number/CGI", "$FIG_Config::fig_disk/FIG/CGI");
53    
54  &FIG::run("cd $release_dir; make clean; make");  &FIG::run("cd $release_dir; make clean; make");
55    
56    #
57    # Fix up permissions so we can do things as a different user later.
58    #
59    
60    chmod(0777, $FIG_Config::fig_disk);
61    chmod(0777, "$FIG_Config::fig_disk/FIG");
62    chmod(0777, "$FIG_Config::fig_disk/FIG/bin");
63    chmod(0777, "$FIG_Config::fig_disk/FIG/CGI");
64    
65    &FIG::run("chmod ugo+w $FIG_Config::fig_disk");
66    &FIG::run("chmod ugo+w $FIG_Config::fig_disk/CURRENT_RELEASE");
67    &FIG::run("chmod ugo+w $FIG_Config::fig_disk/FIG");
68    &FIG::run("chmod ugo+w $FIG_Config::fig_disk/FIG/bin");
69    &FIG::run("chmod ugo+w $FIG_Config::fig_disk/FIG/CGI");
70    &FIG::run("chmod ugo+w $FIG_Config::fig_disk/dist/releases");
71    &FIG::run("chmod  -R ugo+w $release_dir");

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3