]> git.pld-linux.org Git - packages/rpm-build-tools.git/blob - php.sh
Merge pld-builder.new/client into rpm-build-tools
[packages/rpm-build-tools.git] / 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 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.110446 seconds and 3 git commands to generate.