X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=helm%2Finterface%2Fhelm_wget.in;fp=helm%2Finterface%2Fhelm_wget.in;h=0000000000000000000000000000000000000000;hp=8aa0260cb8b746327c88f22ff594f805243d50c4;hb=869549224eef6278a48c16ae27dd786376082b38;hpb=89262281b6e83bd2321150f81f1a0583645eb0c8 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"; -}