org-lduran2 / git-unzip-all

Script to uncompress all files matching the desired patterns after pushing to a git repo.
MIT License
0 stars 1 forks source link

File locality with scripts. #8

Closed lduran2 closed 2 years ago

lduran2 commented 2 years ago

Particularly the configuration script currently has an issue locating its resources. Check to see if there is an idiomatic way to handle resources, configurations in Bash.

lduran2 commented 2 years ago

Use the dirname command on parameter $0 instead of string manipulation ${BASH_SOURCE%/*}.

See https://github.com/lduran2/git-clean-each-ipynb/blob/master/git-config-filters for a working example.

lduran2 commented 2 years ago

Resolved in https://github.com/lduran2/git-unzip-all/releases/tag/archive%2Fdirname-for-locality