From 29126a7406dbb55c22a727db257dc32665b2181d Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 08 Sep 2012 18:05:58 -0400 Subject: Use ob_use instead of . in all rewritten modules. --- (limited to 'lib') 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()? -- cgit v0.9.1