jamriska / ebsynth

Fast Example-based Image Synthesis and Style Transfer
https://ebsynth.com
1.5k stars 194 forks source link

Avoid shell export errors when existing PATH has spaces #20

Open myselfhimself opened 3 years ago

myselfhimself commented 3 years ago

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