lashtear / tinymux

Chime's experimental branch of TinyMUX
github.com/lashtear/tinymux
Other
4 stars 1 forks source link

Explain cwd requirements if script.conf not found #9

Open lashtear opened 7 years ago

lashtear commented 7 years ago
Kent Jenkins: I'm getting...
jenkins@kuramori:~/game/bin$ ./mux-start
./mux-start: 5: .: Can't open etc/script.conf

The scripts are designed to run from the game dir, to facilitate having a single build-and-install that powers many many games. This idea is normal for unix packages but utterly alien to the mush community-- we should probably add an error message explaining what's up if we can't find etc/script.conf.

Making the reference to script.conf fully qualified would defeat the purpose of using it entirely.

thenomain commented 7 years ago

Happens with trying to make a flatfile, too:

jenkins@kuramori:~/oldponymux$ bin/mux-unload-flat 
bin/mux-unload-flat: 3: .: Can't open /home/jenkins/testmux/etc/script.conf

jenkins@kuramori:~/oldponymux$ bin/mux-backup-flat 
bin/mux-backup-flat: 3: .: Can't open /home/jenkins/testmux/etc/script.conf