Skip to content

Commit 7f3e7f5

Browse files
committed
support for phar-based installation, tupo fix
1 parent 739b16f commit 7f3e7f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Jobby.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ protected function getExecutableCommand($job, array $config)
181181
}
182182

183183
if (strpos(__DIR__, 'phar://') === 0) {
184-
return sprintf(' -r \'define("JOBBY_RUN_JOB",1);include("%s");\' "$s" "$s"', $this->script, $job, http_build_query($config));
184+
return sprintf(' -r \'define("JOBBY_RUN_JOB",1);include("%s");\' "%s" "%s"', $this->script, $job, http_build_query($config));
185185
}
186186
return sprintf('"%s" "%s" "%s"', $this->script, $job, http_build_query($config));
187187
}

0 commit comments

Comments
 (0)