autospec: send the debug message showing autospec version as soon as possible

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2012-11-10 12:21:10 +01:00
parent a03a529513
commit 990661c11e
2 changed files with 6 additions and 2 deletions

View File

@ -9,6 +9,10 @@ Changes in version 1.14.2
* plugins/* - Davide Madrisan:
Do not load a library already loaded by another autospec module.
+ update
* autospec - Davide Madrisan:
Send the debug message showing autospec version as soon as possible.
-------------------------------------------------------------------------------
Changes in version 1.14.1 - _TO*Hacklab release

View File

@ -114,6 +114,8 @@ for arg in $@; do
esac
done
notify.debug "[${me[0]}, "$"version"" ${me[1]}]"
case "$(( $pck_update + $spec_create + $pck_extract + $config_getvar ))" in
0) [ "$print_help" = "1" ] && autospec.usage 0
if [ "$print_version" = "1" ]; then
@ -133,8 +135,6 @@ esac
[ "$logging" = "1" ] && let "colorize = 0"
[ "$colorize" = "1" ] && notify.enable_colors || notify.disable_colors
notify.debug "[${me[0]}, "$"version"" ${me[1]}]"
# checking for errors in the configuration file
[ "$config_getvar" = 1 ] || config.integrity