Skip to content
  • Tormod Volden's avatar
    bootstrap: Various code improvements · fa1f2682
    Tormod Volden authored
    - Do not specify -e twice.
    - Use "which" instead of calling commands that might not exist.
    - Fix bashism ("==" is C not sh)
    - Carefully quote potentially empty variables
    - Check command arguments before doing anything
    - Rewrite argument checking to be more easily extensible
    - Consistent indentation
    - UNIX style error messages
    fa1f2682