26 lignes
999 B
Diff
26 lignes
999 B
Diff
From 5c580a54b8cfe3e26f7605ecf637143a6d8e2618 Mon Sep 17 00:00:00 2001
|
|
From: Daniel Seifert <git@daniel-seifert.com>
|
|
Date: Sat, 13 Mar 2021 00:45:37 +0100
|
|
Subject: [PATCH 1/1] remove sudo for test execution on restricted servers
|
|
|
|
---
|
|
library/Services/Library/Cache.php | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/library/Services/Library/Cache.php b/library/Services/Library/Cache.php
|
|
index e084763..1003459 100644
|
|
--- a/library/Services/Library/Cache.php
|
|
+++ b/library/Services/Library/Cache.php
|
|
@@ -45,7 +45,7 @@ class Cache
|
|
{
|
|
if ($sCompileDir = \OxidEsales\Eshop\Core\Registry::get(\OxidEsales\Eshop\Core\ConfigFile::class)->getVar('sCompileDir')) {
|
|
if (!is_writable($sCompileDir)) {
|
|
- CliExecutor::executeCommand("sudo chmod -R 777 $sCompileDir");
|
|
+ CliExecutor::executeCommand("chmod -R 777 $sCompileDir");
|
|
}
|
|
$this->removeTemporaryDirectory($sCompileDir, false);
|
|
}
|
|
--
|
|
2.25.1
|
|
|