'hash foo' may fail, and would require something like 'hash /usr/bin/foo'

2022-02-22 Thread Benoit Lacelle
f287817d034723f964b6368c03e10e2d92a37d34ac62c pull stats: download 388.4MiB in 3.018s (128.7MiB/s), extract 498.4MiB in 3.399s (146.6MiB/s) Thanks -- Benoit Lacelle

Re: 'hash foo' may fail, and would require something like 'hash /usr/bin/foo'

2022-02-22 Thread Benoit Lacelle
not found bash-5.1# hash /usr/local/bin/npm hash /usr/local/bin/npm Le mar. 22 févr. 2022 à 17:44, Chet Ramey a écrit : > On 2/22/22 10:10 AM, Benoit Lacelle wrote: > > > Bash Version: 5.1 > > Patch Level: 16 > > Release Status: relase > > Bash version: 5.1.16(1)-r

Re: 'hash foo' may fail, and would require something like 'hash /usr/bin/foo'

2022-02-22 Thread Benoit Lacelle
have as expected in given environment: / # hash npm / # type -a npm /usr/local/bin/npm 'less npm' shows npm is a script file, starting with: '#!/usr/bin/env node' I would be happy to provide additional details. Le mar. 22 févr. 2022 à 17:53, Chet Ramey a écrit : >

Re: 'hash foo' may fail, and would require something like 'hash /usr/bin/foo'

2022-02-22 Thread Benoit Lacelle
ine (8.1.1-r0) (4/4) Installing bash (5.1.16-r0) Executing bash-5.1.16-r0.post-install Executing busybox-1.34.1-r3.trigger OK: 10 MiB in 20 packages / # bash bash-5.1# type -a npm bash: type: npm: not found Le mar. 22 févr. 2022 à 20:35, Chet Ramey a écrit : > On 2/22/22 12:19 PM, Benoit Lace

Re: 'hash foo' may fail, and would require something like 'hash /usr/bin/foo'

2022-02-22 Thread Benoit Lacelle
vr. 2022 à 21:17, Chet Ramey a écrit : > On 2/22/22 2:51 PM, Benoit Lacelle wrote: > > Thanks Chet, but I'm lost. What's next step? > > > > I do not reproduce the issue either on my local macos. But I do in a > > CircleCI VM: > > > > > / # bash &g

Re: 'hash foo' may fail, and would require something like 'hash /usr/bin/foo'

2022-02-22 Thread Benoit Lacelle
bash-5.1# echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin bash-5.1# ls /usr/local/bin/npm */usr/local/bin/npm-> yes, there is such a file in a folder described by $PATH* Le mar. 22 févr. 2022 à 21:37, Chet Ramey a écrit : > On 2/22/22 3:35 PM, Benoit Lacelle