From 45ad22ddd988a0066c406cc2a2221fc22f4e268b Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sat, 8 Jun 2024 17:37:02 -0400 Subject: [PATCH] no longer hardcode path to /usr/bin/env use env instead --- grml-debootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grml-debootstrap b/grml-debootstrap index 6742122..3666155 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -1789,7 +1789,7 @@ clean_chroot() { local chroot_command=("${@:2}") # Run chroot, then env -i with the specified environment variables inside the chroot - chroot "$chroot_dir" /usr/bin/env -i "${env_vars[@]}" "${chroot_command[@]}" + chroot "$chroot_dir" env -i "${env_vars[@]}" "${chroot_command[@]}" } # }}}