Blame racoon2-getopt.patch
|
Pavel Šimerda |
636224d |
--- /pskgen/pskgen.in 2014-02-19 12:57:34.000000000 +0100
|
|
Pavel Šimerda |
636224d |
+++ /pskgen/pskgen.in 2014-03-08 11:00:10.215965859 +0100
|
|
Pavel Šimerda |
636224d |
@@ -59,8 +59,9 @@
|
|
Pavel Šimerda |
636224d |
exit 0;
|
|
Pavel Šimerda |
636224d |
}
|
|
Pavel Šimerda |
636224d |
|
|
Pavel Šimerda |
636224d |
-require 'getopts.pl';
|
|
Pavel Šimerda |
636224d |
-do Getopts('rs:o:di:he:d');
|
|
Pavel Šimerda |
636224d |
+use Getopt::Std;
|
|
Pavel Šimerda |
636224d |
+
|
|
Pavel Šimerda |
636224d |
+getopts('rs:o:di:he:d') or exit 1;
|
|
Pavel Šimerda |
636224d |
$output = '-';
|
|
Pavel Šimerda |
636224d |
$output = $opt_o if ($opt_o);
|
|
Pavel Šimerda |
636224d |
|