1. 09 Aug, 2016 2 commits
    • Filip Roséen's avatar
      compile.sh: introduce diagnostic helper · 9133085d
      Filip Roséen authored
      Given that diagnostic output should be written to stderr and not
      stdout, a function named "diagnostic" is introduced that echo's
      whatever is passed to stderr.
      
      Usage of "echo" in terms of diagnostics has been replaced by usage of
      this newly added function.
      Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
      9133085d
    • Filip Roséen's avatar
      compile.sh: error on invalid usage · da1fc362
      Filip Roséen authored
      If a user of the script happens to pass an invalid option to
      "compile.sh" we should not ignore it, instead it is more appropriate
      to add a diagnostic saying that the user has supplied an invalid
      option.
      
      As such, these changes adds a fallback entry to the argument parsing
      so that the script aborts to save user from unexpected behavior.
      Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
      da1fc362
  2. 08 Aug, 2016 38 commits