Changeset 111


Ignore:
Timestamp:
Sep 6, 2007, 2:28:13 AM (12 years ago)
Author:
bruno
Message:

Fix ssh port handling which was wrong + space for test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r108 r111  
    419419        return;
    420420    }
     421    $port = $sshport->{$ENV{'PBPROJ'}};
    421422    $src = join(' ',@src);
    422     pb_system("ssh -q $mac \"mkdir -p $tdir ; cd $tdir ; rm -f $src\"","Preparing $tdir on $mac");
    423     pb_system("scp -p -P $sshport $src $mac:$tdir","$cmt delivery in $tdir on $mac");
    424     pb_system("ssh -q $mac \"cd $tdir ; if [-f pbscript]; then chmod 755 ./pbscript ; ./pbscript\"","Executing pbscript on $mac");
     423    pb_system("ssh -q -p $port $mac \"mkdir -p $tdir ; cd $tdir ; rm -f $src\"","Preparing $tdir on $mac");
     424    pb_system("scp -p -P $port $src $mac:$tdir","$cmt delivery in $tdir on $mac");
     425    pb_system("ssh -q -p $port $mac \"cd $tdir ; if [ -f pbscript ]; then chmod 755 ./pbscript ; ./pbscript\"","Executing pbscript on $mac");
    425426    if ($cmt eq "VMs") {
    426         pb_system("scp -p -P $sshport $mac:$tdir/.... ...","Package recovery in $tdir from $mac");
     427        pb_system("scp -p -P $port $mac:$tdir/.... ...","Package recovery in $tdir from $mac");
    427428    }
    428429}
Note: See TracChangeset for help on using the changeset viewer.