]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Add our own "which" implementation 1677/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 17 Jul 2023 07:50:28 +0000 (09:50 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 17 Jul 2023 11:34:49 +0000 (13:34 +0200)
commitd0d2044316548123eaa9fca3745d29a653107edd
treebdd4d1f3ae6afed28cc4169eba2c4c525bae00b4
parentc7c713ab5de1b50f741ba4615bae869d8a051e9e
Add our own "which" implementation

shutil.which() doesn't take into account any configured tools tree
so let's implement our own which() that does take the tools tree into
account.
mkosi/__init__.py
mkosi/btrfs.py
mkosi/distributions/debian.py
mkosi/distributions/fedora.py
mkosi/distributions/opensuse.py
mkosi/qemu.py
mkosi/run.py