Skip to content
Snippets Groups Projects
  1. Apr 05, 2017
    • Luke Shumaker's avatar
      Avoid using string interpolation; use printf format strings instead. · cb35d74f
      Luke Shumaker authored
      This involves extending the signature of lib/common.sh's `stat_busy()`,
      `lock()`, and `slock()`. The `mesg=$1; shift` in stat_busy even suggests
      that this is what was originally intended from it.
      cb35d74f
    • Luke Shumaker's avatar
      Add a "License:" tag to all code files. · 14d5e1c2
      Luke Shumaker authored
      In cases where there is no license specified, the file is tagged as
      "License: Unspecified".  Obviously, that is not ideal, but it
      highlights the fact, and I hope that it encourages whoever has the
      authority to specify the license to do so.
      
      On that note, to anyone who may have the authority to specify the
      license of files in devtools: the current licence of many files is
      GPLv2 with no option for later versions; I impore you to re-license
      them to have the "or any later version" option.
      14d5e1c2
    • Luke Shumaker's avatar
      lib/common.sh: add 'lock_close'; use it as appropriate. · 997bc1dc
      Luke Shumaker authored
      `lock_close FD` is easier to remember than 'exec FD>&-`; and is especially
      easier if FD is a variable (though that isn't actually taken advantage of
      here).
      
      This uses Bash 4.1+ `exec {var}>&-`, rather than the clunkier
      `eval exec "$var>&-"` that was necessary in older versions of Bash.
      Thanks to Dave Reisner for pointing this new bit of syntax out to me
      the last time I submitted this (back in 2014, 4.1 had just come out).
      997bc1dc
  2. Mar 07, 2017
  3. Oct 19, 2014
  4. Sep 22, 2014
  5. May 10, 2014
  6. May 11, 2013
  7. May 05, 2013
  8. May 03, 2013
  9. May 02, 2013
  10. Apr 06, 2013
  11. Mar 17, 2013
  12. Jan 22, 2013
  13. Jan 20, 2013
  14. Nov 15, 2012
  15. Oct 03, 2012
  16. Jun 16, 2012
  17. Jun 12, 2012
  18. Jan 18, 2012
  19. Dec 04, 2011
  20. Nov 06, 2011
  21. Nov 01, 2011
  22. Oct 29, 2011
  23. Oct 07, 2011
    • Lukas Fleischer's avatar
      Support non-standard install locations · 46c4def0
      Lukas Fleischer authored
      
      This build system overhaul allows for adding (define-style) macros to
      our scripts. All source files are now suffixed with ".in" to clarify
      that they might contain unprocessed defines. The Makefile provides a new
      rule to preprocess source files and generate proper output scripts.
      
      Also, add a "@pkgdatadir@" define (as used in GNU Autotools) and use it
      instead of hardcoded paths to "/usr/share/devtools" everywhere. We
      missed this when adding PREFIX support to the build system in commit
      35fc83ce.
      
      Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
      46c4def0
  24. Aug 29, 2011
  25. Mar 22, 2011
  26. Mar 18, 2011
  27. Mar 14, 2011
  28. Dec 02, 2010
  29. Nov 22, 2010
  30. Nov 17, 2010
Loading