Global symbol "@args" requires explicit package name at /usr/local/share/shutter/resources/modules/Shutter/App/HelperFunctions.pm line 56. Global symbol "@args" requires explicit package name at /usr/local/share/shutter/resources/modules/Shutter/App/HelperFunctions.pm line 57. Compilation failed in require at /usr/local/bin/shutter line 148. See also: See also: https://bugs.launchpad.net/shutter/+bug/1495163/comments/2 - Bump PORTREVISION Reviewed by: feld MFH: 2015Q3
12 lines
481 B
Text
12 lines
481 B
Text
--- share/shutter/resources/modules/Shutter/App/HelperFunctions.pm.orig 2015-09-17 16:09:58 UTC
|
|
+++ share/shutter/resources/modules/Shutter/App/HelperFunctions.pm
|
|
@@ -53,7 +53,8 @@ sub new {
|
|
|
|
sub xdg_open {
|
|
my ( $self, $dialog, $link, $user_data ) = @_;
|
|
- system("xdg-open $link");
|
|
+ my @args = ("xdg-open", "$link");
|
|
+ system(@args);
|
|
if($?){
|
|
my $response = $self->{_dialogs}->dlg_error_message(
|
|
sprintf( $self->{_d}->get("Error while executing %s."), "'xdg-open'"),
|