]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
Add php 8.0 support
authorElan Ruusamäe <glen@delfi.ee>
Wed, 14 Oct 2020 20:05:57 +0000 (23:05 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 14 Oct 2020 20:05:57 +0000 (23:05 +0300)
client/php.sh
client/php80.sh [new symlink]

index 32dff7edc89e139ffbf9f711595354941da44ace..19f98839bce7e56861c54a440b975fbe5f4b7ce0 100755 (executable)
@@ -4,7 +4,7 @@ program=${0##*/}
 program=${program%.sh}
 dir=$(dirname "$0")
 suffix=${program#php}
-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 php74-common hhvm; do poldek -e $a --noask; done; :'
+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 php74-common php80-common hhvm; do poldek -e $a --noask; done; :'
 
 request() {
        "$dir/make-request.sh" -D "php_suffix $suffix" ${pre_command:+-c "$pre_command"} ${post_command:+-C "$post_command"} "$@"
@@ -27,6 +27,13 @@ case "$suffix" in
                request "$@"
        done
        ;;
+8*)
+       for php in $dir/php8?.sh; do
+               suffix=${php#$dir/php}
+               suffix=${suffix%.sh}
+               request "$@"
+       done
+       ;;
 *)
        request "$@"
        ;;
diff --git a/client/php80.sh b/client/php80.sh
new file mode 120000 (symlink)
index 0000000..d20ec52
--- /dev/null
@@ -0,0 +1 @@
+php.sh
\ No newline at end of file
This page took 0.249139 seconds and 4 git commands to generate.