redoconf: a stub rc_include() now sources ./redoconf.rc automatically.

This lets us remove the awkward ". ./redoconf.rc" line from zillions
of .od scripts, without paying the price of *always* including that
whole file every time default.do.sh is used.
This commit is contained in:
Avery Pennarun 2019-03-02 04:23:05 -05:00
commit 1a3c11f220
34 changed files with 5 additions and 34 deletions

View file

@ -1,5 +1,3 @@
. ./redoconf.rc
base=${1%.required.rc}
name=${base#*/}
NAME=$(echo "$name" | tr 'a-z.' 'A-Z_')