]> git.ipfire.org Git - thirdparty/haproxy.git/commit
SCRIPTS: build-vtest: allow to set a TMPDIR and a DESTDIR 20260212-build-vtest flx05/20260212-build-vtest
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 12 Feb 2026 17:48:09 +0000 (18:48 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 12 Feb 2026 17:48:09 +0000 (18:48 +0100)
commitf47b800ac321365e43effbf7e93efb4e2f337291
tree738b1b2f1feb3d3e8e275b7f7e8f4572e09e2130
parentd13164e1059119bc2ba42bd27d5e5c10cc5e368d
SCRIPTS: build-vtest: allow to set a TMPDIR and a DESTDIR

Implement a way to set a destination directory using DESTDIR, and a tmp
directory using TMPDIR.

By default:

- DESTDIR is ../vtest like it was done previously
- TMPDIR  is mktemp -d

Only the vtest binary is copied in DESTDIR.

Example:

TMPDIR=/dev/shm/ DESTDIR=/home/user/.local/bin/ ./scripts/build-vtest.sh
scripts/build-vtest.sh