help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

small problem with BASH_SOURCE and PATH


From: Alex fxmbsw7 Ratchev
Subject: small problem with BASH_SOURCE and PATH
Date: Thu, 10 Feb 2022 21:56:05 +0100

so i have a project
resulting code contains PATH=$PATH:${BASH_SOURCE%/*}/bin

so i have

./
./script
./bin/
./bin/an.gawk

( small example )
when i run the script like ./script it works
if i run it via 'bash script' it says the gawk not found

any help ? =))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]