diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-05 19:44:51 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-05 19:44:51 +0200 |
| commit | f209398d93689cf29b0695b615478d63fee3eb37 (patch) | |
| tree | 51196e2dc01af921c9f7245da8ca23a9d0029d5b /latest.pl | |
| parent | cd6fe54ec05b37335838be0c7bde638c4ffbe156 (diff) | |
push to the new endpoint now
Diffstat (limited to 'latest.pl')
| -rwxr-xr-x | latest.pl | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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; } |
