Page MenuHomeDevCentral

D2132.id5375.diff
No OneTemporary

D2132.id5375.diff

diff --git a/roles/devserver/userland-software/files/install-php-extension.sh b/roles/devserver/userland-software/files/install-php-extension.sh
--- a/roles/devserver/userland-software/files/install-php-extension.sh
+++ b/roles/devserver/userland-software/files/install-php-extension.sh
@@ -10,6 +10,8 @@
# Source file: roles/devserver/userland-software/files/install-php-extension.sh
# -------------------------------------------------------------
-phpize
-./configure
-make
+AS_BUILDER=sudo -u builder
+
+$AS_BUILDER phpize
+$AS_BUILDER ./configure
+$AS_BUILDER make
diff --git a/roles/devserver/userland-software/php-ast.sls b/roles/devserver/userland-software/php-ast.sls
--- a/roles/devserver/userland-software/php-ast.sls
+++ b/roles/devserver/userland-software/php-ast.sls
@@ -30,7 +30,6 @@
cmd.script:
- source: salt://roles/devserver/userland-software/files/install-php-extension.sh
- cwd: /opt/php-ast
- - runas: builder
- creates: /opt/php-ast/modules/ast.so
php_ast_install:

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 09:11 (18 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2256967
Default Alt Text
D2132.id5375.diff (1023 B)

Event Timeline