configure-update: support loading local configuration
This commit is contained in:
parent
fa0a08e584
commit
228aa268f8
|
@ -32,6 +32,8 @@ PREFIX="@PREFIX@"
|
||||||
LIBEXECDIR="$PREFIX/libexec"
|
LIBEXECDIR="$PREFIX/libexec"
|
||||||
PROGNAME="configure-update"
|
PROGNAME="configure-update"
|
||||||
PROJECTCONF="project.conf"
|
PROJECTCONF="project.conf"
|
||||||
|
SYSCONFDIR="@SYSCONFDIR@"
|
||||||
|
VENDOR="DeforaOS"
|
||||||
VERBOSE=1
|
VERBOSE=1
|
||||||
#executables
|
#executables
|
||||||
CMP="cmp"
|
CMP="cmp"
|
||||||
|
@ -39,6 +41,12 @@ CP="cp -f"
|
||||||
DEBUG=
|
DEBUG=
|
||||||
FIND="find"
|
FIND="find"
|
||||||
|
|
||||||
|
#load local settings
|
||||||
|
[ -f "$SYSCONFDIR/$VENDOR/$PROGNAME.conf" ] &&
|
||||||
|
. "$SYSCONFDIR/$VENDOR/$PROGNAME.conf"
|
||||||
|
[ -f "$HOME/.config/$VENDOR/$PROGNAME.conf" ] &&
|
||||||
|
. "$HOME/.config/$VENDOR/$PROGNAME.conf"
|
||||||
|
|
||||||
|
|
||||||
#functions
|
#functions
|
||||||
#configure_update
|
#configure_update
|
||||||
|
|
Loading…
Reference in New Issue
Block a user