From fc59c45daf27ef33f205d55960f64e2b0fa7b0fe Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Sat, 14 Mar 2009 17:36:38 +0100 Subject: load lib-misc early so debugging works --- src/aif.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/aif.sh') diff --git a/src/aif.sh b/src/aif.sh index 3aaaca0..a4f2d8b 100755 --- a/src/aif.sh +++ b/src/aif.sh @@ -17,7 +17,8 @@ LOGFILE=$LOG_DIR/aif.log source $LIB_CORE/libs/lib-ui.sh || ( echo "Something went wrong while sourcing library $LIB_CORE/libs/lib-ui.sh" >&2 && exit 2) # load the lib-flowcontrol. we also need some of it's functions early (like usage()). source $LIB_CORE/libs/lib-flowcontrol.sh || ( echo "Something went wrong while sourcing library $LIB_CORE/libs/lib-flowcontrol.sh" >&2 && exit 2) - +# lib-misc. we need it early, at least for check_is_in whis is used by the debug function. +source $LIB_CORE/libs/lib-misc.sh || ( echo "Something went wrong while sourcing library $LIB_CORE/libs/lib-misc.sh" >&2 && exit 2) # default function to process additional arguments. can be overridden by procedures. process_args () -- cgit v1.2.3-54-g00ecf