[packages/rpm-build-tools/merge-pld-builder-client: 2647/2675] php: add pre_command
glen
glen at pld-linux.org
Mon Dec 19 22:09:34 CET 2016
commit cee2723afb7bfefd5d578e345157a7b78df243df
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Jul 4 14:47:21 2016 +0300
php: add pre_command
php.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/php.sh b/php.sh
index 9120e4c..422dacd 100755
--- a/php.sh
+++ b/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/packages/rpm-build-tools.git/commitdiff/cca6584b96e6c33d0732d559e43e100d804e2ecd
More information about the pld-cvs-commit
mailing list