Hi,
I use Debian, I wonder if someone else has the problem with which
make menuconfig
/usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
Thanks
Hi,
I use Debian, I wonder if someone else has the problem with which
make menuconfig
/usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
Thanks
Debian has a philosophical problem with which...
See also
https://lwn.net/ml/debian-ctte/handler.994275.D994275.163536015027825.ackdone@bugs.debian.org/
ok thank you, I did follow some tutos about that, kind of patch but nothing works. I'm done with Debian
I have the same problem with debian and building openwrt image.
About your link, do I need to run command_all.sh
and thats it?
#! /bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Reduced version of which -a using command utility
case $PATH in
(*[!:]:) PATH="$PATH:" ;;
esac
for ELEMENT in $(echo $PATH | tr ":" "\n"); do
PATH=$ELEMENT command -v "$@"
done
You don't need to do anything at this point, yes debianutils' which
cries wolf about being deprecated, but it still works just as-is.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.