Changeset 474 for locker


Ignore:
Timestamp:
Oct 14, 2007, 4:12:55 PM (15 years ago)
Author:
andersk
Message:
File::Path for mkpath and rmtree.
Location:
locker/deploy/bin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • locker/deploy/bin/advancedpoll

    r472 r474  
    2929     password => $admin_password});
    3030
    31 `rm -r include/contemp.php`;
     31unlink('include/contemp.php');
    3232
    3333print <<END;
  • locker/deploy/bin/joomla

    r473 r474  
    44use onserver;
    55use Cwd;
     6use File::Path;
    67
    78setup();
     
    3940     dirPerms => 0});
    4041
    41 system('rm', '-rf', 'installation');
     42rmtree('installation');
  • locker/deploy/bin/phpbb

    r472 r474  
    33use lib '/mit/scripts/deploy/bin';
    44use onserver;
     5use File::Path;
    56
    67setup();
     
    2728     cur_lang => 'english'});
    2829
    29 `rm -rf contrib install`;
     30rmtree(['contrib', 'install']);
  • locker/deploy/bin/phpical

    r127 r474  
    1616close(FILE);
    1717
    18 #`cp /mit/scripts/deploy/phpical/MIT\ Academic\ Calendar.ics calendars/`;
     18#system('cp', '/mit/scripts/deploy/phpical/MIT Academic Calendar.ics', 'calendars/');
    1919
    20 `rm -f contemp.php`;
    21 `rm -f calendars/publish.ical.php`;
     20unlink('contemp.php');
     21unlink('calendars/publish.ical.php');
    2222
    2323print <<END;
Note: See TracChangeset for help on using the changeset viewer.