diff options
author | EuAndreh <eu@euandre.org> | 2018-12-29 17:33:43 -0200 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2018-12-29 17:33:43 -0200 |
commit | a466558ccfa8d5d14135e8b0010fb97a53e9052d (patch) | |
tree | 976902bf0de01cb543e6563100090c0435da5234 /website | |
parent | Run podchecker in Nix test step. (diff) | |
download | euandre.org-a466558ccfa8d5d14135e8b0010fb97a53e9052d.tar.gz euandre.org-a466558ccfa8d5d14135e8b0010fb97a53e9052d.tar.xz |
Print realpath of generated files.
Diffstat (limited to '')
-rwxr-xr-x | website | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -60,7 +60,6 @@ sub escaped_cmd { sub dispatch { my $action = shift; my @args = @_; - my @sub_args = grep { $_ ne $action } @args; if (!defined $action && $help) { pod2usage( -verbose => 2, @@ -73,8 +72,10 @@ sub dispatch { -exitval => 2 ); } elsif ($action eq 'pastebin') { + my @sub_args = grep { $_ ne $action } @args; escaped_cmd("./pastebin/website-pastebin", @sub_args); } elsif ($action eq 'slides') { + my @sub_args = grep { $_ ne $action } @args; escaped_cmd("./slides/website-slides", @sub_args); } elsif ($action eq 'test') { test(); |