1
1
Этот коммит содержится в:
Miguel de Icaza 1999-04-01 00:29:27 +00:00
родитель 5ca884d419
Коммит 24b6513853

Просмотреть файл

@ -8,7 +8,7 @@
### Change this when the commands are outside PATH ### Change this when the commands are outside PATH
$mdir = "mdir"; $mdir = "mdir";
$mcopy = "mcopy"; $mcopy = "mcopy -noQ";
### ###
$disk = $0; $disk = $0;
@ -70,13 +70,20 @@ sub a_list
sub a_copyout sub a_copyout
{ {
my($archname,$filename,$dest) = @_; my($archname,$filename,$dest) = @_;
system "$mcopy $disk:/$filename $dest"; system "$mcopy $disk:/$filename $dest >& /dev/null";
} }
# system "touch /tmp/deb"; # system "touch /tmp/deb";
sub a_copyin
{
my($archname,$filename,$dest) = @_;
system "$mcopy $dest $disk:/$filename >& /dev/null";
}
if($ARGV[0] eq "list") { shift; &a_list(@ARGV); exit 0; } if($ARGV[0] eq "list") { shift; &a_list(@ARGV); exit 0; }
elsif($ARGV[0] eq "copyout") { shift; &a_copyout(@ARGV); exit 0; } elsif($ARGV[0] eq "copyout") { shift; &a_copyout(@ARGV); exit 0; }
elsif($ARGV[0] eq "copyin") { shift; &a_copyin(@ARGV); exit 0; }
exit 1; exit 1;