[projects/pld-builder.new] php: add pre_command

glen glen at pld-linux.org
Mon Dec 12 19:18:12 CET 2016


commit bda504189e1a64d076f46cd124dcb7662c46bf6a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Jul 4 14:47:21 2016 +0300

    php: add pre_command

 client/php.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/client/php.sh b/client/php.sh
index 9120e4c..422dacd 100755
--- a/client/php.sh
+++ b/client/php.sh
@@ -10,6 +10,8 @@ if [ "$suffix" = "" ]; then
 		$php "$@"
 	done
 	exit 0
+else
+	pre_command='for a in php4-common php52-common php53-common php54-common php55-common php56-common php70-common hhvm; do poldek -e $a --noask; done'
 fi
 
-exec $dir/make-request.sh -D "php_suffix $suffix" ${post_command:+-C "$post_command"} "$@"
+exec $dir/make-request.sh -D "php_suffix $suffix" ${pre_command:+-c "$pre_command"} ${post_command:+-C "$post_command"} "$@"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/0ca1304b5ef20f1b1f9afac86cbd7c167fe1749e



More information about the pld-cvs-commit mailing list