Page MenuHomeDevCentral

D2132.diff
No OneTemporary

D2132.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, 03:07 (17 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2256967
Default Alt Text
D2132.diff (1023 B)

Event Timeline