Skip to content

Commit a2382e8

Browse files
committed
Unpack tideways_xhprof to vendor for cache
1 parent f6f68d0 commit a2382e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

install-extensions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ install_tideways_xhprof() {
4242
local zts
4343

4444
curl -fL -o "$tar" "$url"
45-
tar -xvf "$tar"
45+
tar -xvf "$tar" -C vendor/tideways_xhprof
4646

4747
zts=$(php --version | grep -q ZTS && echo -zts || :)
48-
library="$PWD/tideways_xhprof-$version/tideways_xhprof-$PHP_VERSION$zts.so"
48+
library="$PWD/vendor/tideways_xhprof/tideways_xhprof-$version/tideways_xhprof-$PHP_VERSION$zts.so"
4949
config="/etc/php/$PHP_VERSION/cli/conf.d/10-tideways_xhprof.ini"
5050
test -f "$library" || die "Extension not available: $library"
5151
echo "extension=$library" > "$config"

0 commit comments

Comments
 (0)