From f209398d93689cf29b0695b615478d63fee3eb37 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 5 Jun 2018 19:44:51 +0200 Subject: push to the new endpoint now --- latest.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'latest.pl') diff --git a/latest.pl b/latest.pl index 1bb7932..3baeaf2 100755 --- a/latest.pl +++ b/latest.pl @@ -6,7 +6,8 @@ use Getopt::Std; our $opt_l; # mix and upload files our $opt_v; # print log for all files our $opt_n; # name/tag for file -getopts('lavn:'); +our $opt_e; # endpoint for cortex upload +getopts('lave:n:'); our $matches = 0; if (scalar @ARGV) { @@ -82,7 +83,7 @@ sub process($){ return 1; } - if (!$opt_l) { + if (! $opt_l) { return 0; } print "\n"; @@ -90,7 +91,7 @@ sub process($){ print "\n"; print $name . ", $c samples\n"; print "\n"; - system('/bin/bash', 'mix.sh', $path, $name); + system('/bin/bash', 'mix.sh', $path, $name, $opt_e); return 0; } -- cgit v1.2.3-70-g09d2