]> git.pld-linux.org Git - projects/pld-builder.new.git/blob - client/php.sh
add php 7.3
[projects/pld-builder.new.git] / client / php.sh
1 #!/bin/sh
2 program=${0##*/}
3 program=${program%.sh}
4 dir=$(dirname "$0")
5 suffix=${program#php}
6
7 # if called as php.sh, invoke all php versions
8 if [ "$suffix" = "" ]; then
9         for php in $dir/php??.sh; do
10                 $php "$@"
11         done
12         exit 0
13 else
14         pre_command='for a in php4-common php52-common php53-common php54-common php55-common php56-common php70-common php71-common php72-common php73-common hhvm; do poldek -e $a --noask; done; :'
15 fi
16
17 exec $dir/make-request.sh -D "php_suffix $suffix" ${pre_command:+-c "$pre_command"} ${post_command:+-C "$post_command"} "$@"
This page took 0.073704 seconds and 3 git commands to generate.