Skip to content

Script Requires Absolute Paths for Proper Functionality #5

Pinned Answered by amoghj98
manishnagaraj asked this question in Q&A
Discussion options

You must be logged in to vote

Description
The script does not handle relative paths reliably, leading to unexpected behavior. To ensure proper execution, all paths must be provided as absolute paths.

Minimum Reproducible Example Provided
No

Minimum Example Provided
Yes

Is Issue Reproducible
Yes

Possible Solution
What happens when you run

bash $SOME_SCRIPT_FROM_THIS_REPO.bash -h

without specifying the absolute path? If you get a "No such file or directory" error, then your issue is most likely an artefact of the default shell on the cluster not being bash. Run

echo $PATH

in your terminal. If the $PATH variable does not contain the path /home/$USER/rcac-utils, then run

source ~/.bashrc

and print out the $PATH variabl…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by manishnagaraj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
good first issue Good for newcomers question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #1 on June 02, 2025 15:46.