mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix function code path
This commit is contained in:
@@ -47,13 +47,13 @@ abstract class Base extends Scope
|
||||
|
||||
public function prepareDeployment()
|
||||
{
|
||||
static::$codePath = realpath(__DIR__ . '/../../resources/functions') . "/php/code.tar.gz";
|
||||
static::$codePath = realpath(__DIR__ . '/../../resources/functions/php/code.tar.gz');
|
||||
|
||||
$stdout = '';
|
||||
$stderr = '';
|
||||
|
||||
Console::execute(
|
||||
'cd ' . realpath(__DIR__ . "/../../resources/functions") . '/' . static::$codePath . " && \
|
||||
'cd ' . realpath(__DIR__ . "/../../resources/functions/php") . " && \
|
||||
tar --exclude code.tar.gz -czf code.tar.gz .",
|
||||
'',
|
||||
$stdout,
|
||||
|
||||
Reference in New Issue
Block a user