devtools/lib
Luke Shumaker c1a056c9a8
lib/common.sh: Make it safe to include multiple times.
This is similar to common C #ifdef guards.

I was tempted to wrap the entire thing in the if/fi, rather than use
'return' to bail early.  However, that means it won't execute anything
until after it reaches 'fi'.  And if `shopt -s extglob` isn't executed
before parsing, then it will syntax-error on the extended globs.  One
solution would have been to move `shopt -s extglob` up above the
include-guard.  But the committed solution is all-around simpler.
2017-04-05 22:14:20 +02:00
..
archroot.sh Add a "License:" tag to all code files. 2017-04-05 22:10:03 +02:00
common.sh lib/common.sh: Make it safe to include multiple times. 2017-04-05 22:14:20 +02:00
valid-tags.sh Add a "License:" tag to all code files. 2017-04-05 22:10:03 +02:00