X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Finterface%2Fhelm_wget.in;fp=helm%2Finterface%2Fhelm_wget.in;h=0000000000000000000000000000000000000000;hb=e108abe5c0b4eb841c4ad332229a6c0e57e70079;hp=8aa0260cb8b746327c88f22ff594f805243d50c4;hpb=1456c337a60f6677ee742ff7891d43fc382359a9;p=helm.git diff --git a/helm/interface/helm_wget.in b/helm/interface/helm_wget.in deleted file mode 100755 index 8aa0260cb..000000000 --- a/helm/interface/helm_wget.in +++ /dev/null @@ -1,19 +0,0 @@ -#!@PERL_BINARY@ - -if ($#ARGV != 1) { - print STDERR "Usage: helm_wget prefix URL\n"; - exit -1; -} - -my ($prefix,$URL) = @ARGV; -if ($URL =~ /^file:\//) { - $URL =~ s/^file:\///; - my $command = "mkdir -p $prefix ; cp $URL $prefix"; - print "$command\n"; - system($command) == 0 - or die "\"$command\" error"; -} else { - my $command = "wget -c -P $prefix $URL"; - system($command) == 0 - or die "\"$command\" error"; -}