mbland / go-script-bash

Framework for writing modular, discoverable, testable Bash scripts
ISC License
95 stars 16 forks source link

Use `builtin .` instead of `.` #248

Open nkakouros opened 5 years ago

nkakouros commented 5 years ago

Due diligence

Description

_GO_USE_MODULES uses . to source the library files. It might be the case that go-script is used together with other frameworks that shadow the builtin . with eg an alias. In that case, go-script will use the alias with unpredicted results. I think it would be nice if instead of ., builtin . was used.