Files
perl-Command-Runner/nowin32.diff

24 lines
731 B
Diff
Raw Permalink Normal View History

diff -ur Command-Runner-0.103/lib/Command/Runner/Quote.pm Command-Runner-0.103_fix/lib/Command/Runner/Quote.pm
--- Command-Runner-0.103/lib/Command/Runner/Quote.pm 2020-07-24 12:51:54.000000000 +0200
+++ Command-Runner-0.103_fix/lib/Command/Runner/Quote.pm 2020-10-18 12:43:17.439743163 +0200
@@ -2,15 +2,16 @@
use strict;
use warnings;
-use Win32::ShellQuote ();
+#use Win32::ShellQuote ();
use String::ShellQuote ();
use Exporter 'import';
our @EXPORT_OK = qw(quote quote_win32 quote_unix);
sub quote_win32 {
- my $str = shift;
- Win32::ShellQuote::quote_literal($str, 1);
+# my $str = shift;
+# Win32::ShellQuote::quote_literal($str, 1);
+ die "Win32::ShellQUote not available";
}
sub quote_unix {