openlilylib / snippets

A place to store useful pieces of LilyPond code - custom functions, engravers, hacks, templates, examples etc.
Other
119 stars 39 forks source link

font-install: Handle missing arguments properly #98

Closed uliska closed 9 years ago

uliska commented 9 years ago

Currently the font-install script relies on the right paths being provided (or it makes a rather helpless attempt to use the CWD).

When checking the command line arguments three steps should be performed

  1. check if an argument is provided
  2. if not check if the respective environment variable is set (TODO: consider these variables)
  3. if not in batch mode ask the user to input them
uliska commented 9 years ago

I think this has been fixed by now. Anyway, all of the code has by now moved to its own repository