libraries: get rid of the clashing variables 'me'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
88ce40667b
commit
8cd4f03cb4
@ -27,6 +27,10 @@ Changes in version 1.16.1
|
||||
* config-getvar - Davide Madrisan:
|
||||
Update the help message.
|
||||
|
||||
+ bugfix
|
||||
* lib/* - Davide Madrisan:
|
||||
Get rid of the clashing variables 'me'.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.16.0
|
||||
|
@ -9,20 +9,21 @@ libapse_is_loaded=1
|
||||
[ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 2 ] &&
|
||||
echo $"this script requires bash version 2 or better" >&2 && exit 1
|
||||
|
||||
me=("libapse.lib" "@version@" "@date@")
|
||||
|
||||
[ -r @libdir@/libmsgmng.lib ] ||
|
||||
{ echo "$me: "$"library not found"": @libdir@/libmsgmng.lib" 1>&2
|
||||
{ echo "\
|
||||
libapse.lib: "$"library not found"": @libdir@/libmsgmng.lib" 1>&2
|
||||
exit 1; }
|
||||
. @libdir@/libmsgmng.lib
|
||||
|
||||
[ -r @libdir@/libspec.lib ] ||
|
||||
{ echo "$me: "$"library not found"": /usr/share/autospec/lib/libspec.lib" 1>&2
|
||||
{ echo "\
|
||||
libapse.lib: "$"library not found"": /usr/share/autospec/lib/libspec.lib" 1>&2
|
||||
exit 1; }
|
||||
. @libdir@/libspec.lib
|
||||
|
||||
[ -r @libdir@/libtranslate.lib ] ||
|
||||
{ echo "$me: "$"library not found"": @libdir@/libtranslate.lib" 1>&2
|
||||
{ echo "\
|
||||
libapse.lib: "$"library not found"": @libdir@/libtranslate.lib" 1>&2
|
||||
exit 1; }
|
||||
. @libdir@/libtranslate.lib
|
||||
|
||||
|
@ -8,15 +8,15 @@ libcfg_is_loaded=1
|
||||
[ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 2 ] &&
|
||||
echo $"this script requires bash version 2 or better" >&2 && exit 1
|
||||
|
||||
me=("libcfg.lib" "@version@" "@date@")
|
||||
|
||||
[ -r @libdir@/libmsgmng.lib ] ||
|
||||
{ echo "$me: "$"library not found"": @libdir@/libmsgmng.lib" 1>&2
|
||||
{ echo "\
|
||||
libcfg.lib: "$"library not found"": @libdir@/libmsgmng.lib" 1>&2
|
||||
exit 1; }
|
||||
. @libdir@/libmsgmng.lib
|
||||
|
||||
[ -r @libdir@/libtranslate.lib ] ||
|
||||
{ echo "$me: "$"library not found"": @libdir@/libtranslate.lib" 1>&2
|
||||
{ echo "\
|
||||
libcfg.lib: "$"library not found"": @libdir@/libtranslate.lib" 1>&2
|
||||
exit 1; }
|
||||
. @libdir@/libtranslate.lib
|
||||
|
||||
|
@ -8,10 +8,9 @@ libmsgmng_is_loaded=1
|
||||
[ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 2 ] &&
|
||||
echo $"this script requires bash version 2 or better" >&2 && exit 1
|
||||
|
||||
me=("libmsgmng.lib" "@version@" "@date@")
|
||||
|
||||
[ -r @libdir@/libtranslate.lib ] ||
|
||||
{ echo "$me: "$"library not found"": @libdir@/libtranslate.lib" 1>&2
|
||||
{ echo "\
|
||||
libmsgmng.lib: "$"library not found"": @libdir@/libtranslate.lib" 1>&2
|
||||
exit 1; }
|
||||
. @libdir@/libtranslate.lib
|
||||
|
||||
|
@ -8,15 +8,15 @@ libnetwork_is_loaded=1
|
||||
[ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 3 ] &&
|
||||
{ echo $"this script requires bash version 3 or better" >&2 && exit 1; }
|
||||
|
||||
me=("libnetwork.lib" "@version@" "@date@")
|
||||
|
||||
[ -r @libdir@/libmsgmng.lib ] ||
|
||||
{ echo "$me: "$"library not found"": @libdir@/libmsgmng.lib" 1>&2
|
||||
{ echo "\
|
||||
libnetwork.lib: "$"library not found"": @libdir@/libmsgmng.lib" 1>&2
|
||||
exit 1; }
|
||||
. @libdir@/libmsgmng.lib
|
||||
|
||||
[ -r @libdir@/libtranslate.lib ] ||
|
||||
{ echo "$me: "$"library not found"": @libdir@/libtranslate.lib" 1>&2
|
||||
{ echo "\
|
||||
libnetwork.lib: "$"library not found"": @libdir@/libtranslate.lib" 1>&2
|
||||
exit 1; }
|
||||
. @libdir@/libtranslate.lib
|
||||
|
||||
|
@ -8,15 +8,15 @@ libspec_is_loaded=1
|
||||
[ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 2 ] &&
|
||||
echo $"this script requires bash version 2 or better" >&2 && exit 1
|
||||
|
||||
me=("libspec.lib" "@version@" "@date@")
|
||||
|
||||
[ -r @libdir@/libmsgmng.lib ] ||
|
||||
{ echo "$me: "$"library not found"": @libdir@/libmsgmng.lib" 1>&2
|
||||
{ echo "\
|
||||
libspec.lib: "$"library not found"": @libdir@/libmsgmng.lib" 1>&2
|
||||
exit 1; }
|
||||
. @libdir@/libmsgmng.lib
|
||||
|
||||
[ -r @libdir@/libtranslate.lib ] ||
|
||||
{ echo "$me: "$"library not found"": @libdir@/libtranslate.lib" 1>&2
|
||||
{ echo "\
|
||||
libspec.lib: "$"library not found"": @libdir@/libtranslate.lib" 1>&2
|
||||
exit 1; }
|
||||
. @libdir@/libtranslate.lib
|
||||
|
||||
|
@ -8,15 +8,15 @@ libtest_is_loaded=1
|
||||
[ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 3 ] &&
|
||||
{ echo $"this script requires bash version 3 or better" >&2 && exit 1; }
|
||||
|
||||
me=("libtest.lib" "@version@" "@date@")
|
||||
|
||||
[ -r @libdir@/libmsgmng.lib ] ||
|
||||
{ echo "$me: "$"library not found"": @libdir@/libmsgmng.lib" 1>&2
|
||||
{ echo "\
|
||||
libtest.lib: "$"library not found"": @libdir@/libmsgmng.lib" 1>&2
|
||||
exit 1; }
|
||||
. @libdir@/libmsgmng.lib
|
||||
|
||||
[ -r @libdir@/libtranslate.lib ] ||
|
||||
{ echo "$me: "$"library not found"": @libdir@/libtranslate.lib" 1>&2
|
||||
{ echo "\
|
||||
libtest.lib: "$"library not found"": @libdir@/libtranslate.lib" 1>&2
|
||||
exit 1; }
|
||||
. @libdir@/libtranslate.lib
|
||||
|
||||
|
@ -8,8 +8,6 @@ libtest_is_loaded=1
|
||||
[ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 2 ] &&
|
||||
{ echo $"this script requires bash version 2 or better" >&2 && exit 1; }
|
||||
|
||||
me=("libtranslate.lib" "@version@" "@date@")
|
||||
|
||||
if [[ -z "$LANG" && -r /etc/sysconfig/i18n ]]; then
|
||||
. /etc/sysconfig/i18n
|
||||
[ "$LANG" ] && export LANG
|
||||
|
Loading…
Reference in New Issue
Block a user