From a466558ccfa8d5d14135e8b0010fb97a53e9052d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 29 Dec 2018 17:33:43 -0200 Subject: Print realpath of generated files. --- website | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'website') diff --git a/website b/website index 370b38c..d85d72a 100755 --- a/website +++ b/website @@ -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(); -- cgit v1.2.3