aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitea <gitea@fake.local>2020-01-16 06:17:41 +0000
committerGitea <gitea@fake.local>2020-01-16 06:17:41 +0000
commit88b079a22b99332cf1d5f11cf091e88bda74f763 (patch)
tree535b06e19978a94f34d549e7b688c12d993f2023
parent13d17c4b0bd351d4013a15b625b79f4c46e1e965 (diff)
improves portability of the script
-rwxr-xr-xminimun3
1 files changed, 2 insertions, 1 deletions
diff --git a/minimun b/minimun
index ff00960..3070174 100755
--- a/minimun
+++ b/minimun
@@ -5,6 +5,8 @@ use warnings;
use IPC::Run qw(run);
use Time::HiRes qw( time );
+chdir('/home/minimun/minimun');
+
my ($buffer, @pairs, $pair, $name, $val, %FORM);
if ($ENV{'REQUEST_METHOD'} eq "GET") {
@@ -36,7 +38,6 @@ else{
die;
}
-
$in .= "\\bye\n";
my $timestamp = time;