Skip to content

Commit

Permalink
no longer hardcode path to /usr/bin/env
Browse files Browse the repository at this point in the history
use env instead
  • Loading branch information
adrelanos committed Jun 8, 2024
1 parent 0b5fb7b commit 45ad22d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grml-debootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -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[@]}"
}
# }}}

Expand Down

0 comments on commit 45ad22d

Please sign in to comment.