diff options
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; } |
