docs: fix build/curl instructions (#998)
Some checks are pending
Lint Code Base / Lint Code Base (push) Waiting to run

The `z` was missing and there was an error after download:

```
tar: Archive is compressed. Use -z option
tar: Error is not recoverable: exiting now
```
This commit is contained in:
David Legrand 2024-08-23 14:07:42 +00:00 committed by GitHub
parent 27ca1ae4f7
commit d12551762f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,7 +66,7 @@ sudo make install
Vous pouvez maintenant compilez FrankenPHP : Vous pouvez maintenant compilez FrankenPHP :
```console ```console
curl -L https://github.com/dunglas/frankenphp/archive/refs/heads/main.tar.gz | tar x curl -L https://github.com/dunglas/frankenphp/archive/refs/heads/main.tar.gz | tar xz
cd frankenphp-main/caddy/frankenphp cd frankenphp-main/caddy/frankenphp
CGO_CFLAGS=$(php-config --includes) CGO_LDFLAGS="$(php-config --ldflags) $(php-config --libs)" go build CGO_CFLAGS=$(php-config --includes) CGO_LDFLAGS="$(php-config --ldflags) $(php-config --libs)" go build
``` ```