diff --git a/ChangeLog b/ChangeLog index 45b8ec0..94615fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -25,6 +25,11 @@ Fri Nov 09 2012 Davide Madrisan * templates/standard - Davide Madrisan: Add a devel subpackage. ++ update + * autospec - Davide Madrisan: + Postpone the load of libcfg.lib to allow users to set a different + configuration file (will be done in a following patch). + ------------------------------------------------------------------------------- Changes in version 1.14.0 diff --git a/autospec.in b/autospec.in index ec16d9e..ff7614e 100644 --- a/autospec.in +++ b/autospec.in @@ -90,8 +90,6 @@ notify.disable_colors { echo "$me: "$"library not found"": @libdir@/libcfg.lib" 1>&2 exit 1; } -. @libdir@/libcfg.lib - for arg in $@; do case $arg in -u|--update) @@ -130,6 +128,8 @@ case "$(( $pck_update + $spec_create + $pck_extract + $config_getvar ))" in *) autospec.usage 1 ;; esac +. @libdir@/libcfg.lib + [ "$logging" = "1" ] && let "colorize = 0" [ "$colorize" = "1" ] && notify.enable_colors