help-bash
[Top][All Lists]
Advanced

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

Re: small problem with BASH_SOURCE and PATH


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

that the resulting script, out of some smaller files

On Thu, Feb 10, 2022 at 9:56 PM Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com> wrote:
>
> 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 ? =))

Attachment: stupid_downloader.bash
Description: Binary data


reply via email to

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