Closed elv-todd closed 3 months ago
Can we find a way to use the same elv-live script for both cases? Maybe check if we're in the git source or npm installed by finding the EluvioLiveCli.js in either places?
updated to share the same script -- hopefully this what you were looking for..
ah would have been happy to apply them if i had gotten the comments before merge..
yea if i had written it i'd have used "$@" -- missed updating that
exec i'm not as clear on -- doesn't that have potentially bad interactions with re-globbing? i guess that's eval not exec.
oh right, exec saves a child process fork
will put a valid elv-live in /opt/homebrew/bin/ (or equiv) when running
npm i -g
not sure if this is the appropriate thing to do or not, for getting elv-live in people's path (for use in scripts)
"worksforme"