Ignore:
Timestamp:
Apr 16, 2011, 3:37:22 AM (12 years ago)
Author:
adehnert
Message:
git smart HTTP transport autoinstaller
Location:
branches/locker-dev/locker
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/locker-dev/locker/deploy/bin/onserver.pm

    r1413 r1805  
    1111use URI;
    1212our @ISA = qw(Exporter);
    13 our @EXPORT = qw(setup totmp fetch_uri print_login_info press_enter $server $tmp $USER $HOME $sname $deploy $addrend $base_uri $ua $admin_username $requires_sql $addrlast $sqlhost $sqluser $sqlpass $sqldb $admin_password $scriptsdev $human $email);
     13our @EXPORT = qw(setup totmp fetch_uri print_login_info press_enter $server $tmp $USER $HOME $scriptsdir $sname $deploy $addrend $base_uri $ua $admin_username $requires_sql $addrlast $sqlhost $sqluser $sqlpass $sqldb $admin_password $scriptsdev $human $email);
    1414
    1515our $server = "scripts.mit.edu";
    1616
    17 our ($tmp, $USER, $HOME, $sname, $deploy, $addrend, $base_uri, $ua, $admin_username, $requires_sql, $addrlast, $sqlhost, $sqluser, $sqlpass, $sqldb, $admin_password, $scriptsdev, $human, $email);
     17our ($tmp, $USER, $HOME, $scriptsdir, $sname, $deploy, $addrend, $base_uri, $ua, $admin_username, $requires_sql, $addrlast, $sqlhost, $sqluser, $sqlpass, $sqldb, $admin_password, $scriptsdev, $human, $email);
    1818
    1919$tmp = ".scripts-tmp";
     
    7777  $USER = $ENV{USER};
    7878  $HOME = $ENV{HOME};
     79  $scriptsdir = $HOME;
     80  $scriptsdir =~ s/\/Scripts$//;
     81  $scriptsdir .= "/Scripts";
    7982 
    8083  ($sname, $deploy, $addrend, $admin_username, $requires_sql, $scriptsdev, $human) = @ARGV;
Note: See TracChangeset for help on using the changeset viewer.