diff options
author | P. J. McDermott <pjm@nac.net> | 2012-09-08 18:05:58 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-09-08 18:05:58 (EDT) |
commit | 29126a7406dbb55c22a727db257dc32665b2181d (patch) | |
tree | 9b9fdee950408c4d938f29de81c8be49271401e8 /lib | |
parent | f51a642dd3bd46d3254c8ac07bcfadf0b7b9ddc2 (diff) |
Use ob_use instead of . in all rewritten modules.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/changelog.sh | 6 | ||||
-rw-r--r-- | lib/control.sh | 6 | ||||
-rw-r--r-- | lib/locale.sh | 2 | ||||
-rw-r--r-- | lib/output.sh | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/lib/changelog.sh b/lib/changelog.sh index d78dbd7..c4a335b 100644 --- a/lib/changelog.sh +++ b/lib/changelog.sh @@ -20,9 +20,9 @@ [ -n "${_OB_CHANGELOG_SM}" ] && return 0 _OB_CHANGELOG_SM='true' -. '@@LIBOPKBUILD@@/messages.sm' -. '@@LIBOPKBUILD@@/locale.sm' -. '@@LIBOPKBUILD@@/util.sm' +ob_use messages.sm +ob_use locale.sm +ob_use util.sm # Constant global parameters: # FIXME: Remove. diff --git a/lib/control.sh b/lib/control.sh index fec7652..d45aa21 100644 --- a/lib/control.sh +++ b/lib/control.sh @@ -20,9 +20,9 @@ [ -n "${_OB_CONTROL_SM}" ] && return 0 _OB_CONTROL_SM='true' -. '@@LIBOPKBUILD@@/messages.sm' -. '@@LIBOPKBUILD@@/locale.sm' -. '@@LIBOPKBUILD@@/util.sm' +ob_use messages.sm +ob_use locale.sm +ob_use util.sm OB_CONTROL_NAME= OB_CONTROL_VALUE= diff --git a/lib/locale.sh b/lib/locale.sh index b1314bf..833c487 100644 --- a/lib/locale.sh +++ b/lib/locale.sh @@ -20,7 +20,7 @@ [ -n "${_OB_LOCALE_SM}" ] && return 0 _OB_LOCALE_SM='true' -. '@@LIBOPKBUILD@@/output.sm' +ob_use output.sm _OB_DEFAULT_LOCALE='en_US' _OB_TEXT_DOMAIN= diff --git a/lib/output.sh b/lib/output.sh index f5bfd34..1f6a565 100644 --- a/lib/output.sh +++ b/lib/output.sh @@ -20,7 +20,7 @@ [ -n "${_OB_MESSAGES_SH}" ] && return 0 _OB_MESSAGES_SH=true -. @@LIBOPKBUILD@@/locale.sm +ob_use locale # TODO: Which of these should print to the standard error stream – just # ob_error() and ob_warn()? |