ebsynth icon indicating copy to clipboard operation
ebsynth copied to clipboard

Avoid shell export errors when existing PATH has spaces

Open myselfhimself opened this issue 3 years ago • 0 comments

My PATH variable is like: /home/jd/.nvm/versions/node/v13.14.0/bin:/home/jd/.poetry/bin:/opt/GitHub Desktop:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin with such a PATH, the script would error on startup with message: ./run.sh: 2: export: Desktop:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin: bad variable name

myselfhimself avatar Nov 03 '20 17:11 myselfhimself