paukstelis / octoprint_deploy

Bash script for rapid deployment of multiple octoprint instance on a single machine
MIT License
390 stars 39 forks source link

Why do you have to be in the directory level above the octoprint_deploy folder? #80

Closed moltra closed 1 year ago

moltra commented 1 year ago

I tried using the update function, but it said that the directory was not available.

fatal: cannot change to 'octoprint_deploy': No such file or directory

I had already changed to the octoprint_deploy folder and started the script using the ./octoprint_deploy.sh command.

I do not understand why you have it setup this way.

paukstelis commented 1 year ago

Simply because most people that use the script aren't that linux saavy. The README does say it assumes all commands come from the home directory.

moltra commented 1 year ago

would it be hard to have it check to see what folder it is in? and then change directory if needed?

paukstelis commented 1 year ago

I have pushed a change that does this. Closing.