summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-15 14:53:36 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-15 14:53:36 (EDT)
commit7157128d836de9989fdf031727842cd749ae86ce (patch)
treece76d92f2c44e7e6e6e5c6cc04e2dbbfe5ecf312 /src
parent384a19e966a688ba67f564e9d61beb02038734d4 (diff)
opkbuild, ob-*: Fix printf commands after ob_set_text_domain()
Diffstat (limited to 'src')
-rw-r--r--src/ob-applypatches.sh3
-rw-r--r--src/ob-buildenv.sh3
-rw-r--r--src/ob-buildopk.sh3
-rw-r--r--src/ob-checkbuilddeps.sh3
-rw-r--r--src/ob-genchanges.sh3
-rw-r--r--src/ob-gencontrol.sh3
-rw-r--r--src/ob-installdocs.sh3
-rw-r--r--src/ob-installplatconf.sh3
-rw-r--r--src/ob-unpacksource.sh3
-rw-r--r--src/opkbuild.sh3
10 files changed, 20 insertions, 10 deletions
diff --git a/src/ob-applypatches.sh b/src/ob-applypatches.sh
index ea8d1bc..bd2a145 100644
--- a/src/ob-applypatches.sh
+++ b/src/ob-applypatches.sh
@@ -56,7 +56,8 @@ apply_patches()
main()
{
if ! ob_set_text_domain 'opkbuild'; then
- printf '%s: Error: Failed to load locale messages\n' >&2
+ printf '%s: Error: Failed to load locale messages\n' \
+ "${0##*/}" >&2
return 1
fi
diff --git a/src/ob-buildenv.sh b/src/ob-buildenv.sh
index 1a16b4d..b0ef5bb 100644
--- a/src/ob-buildenv.sh
+++ b/src/ob-buildenv.sh
@@ -86,7 +86,8 @@ setup_build_flags()
main()
{
if ! ob_set_text_domain 'opkbuild'; then
- printf '%s: Error: Failed to load locale messages\n' >&2
+ printf '%s: Error: Failed to load locale messages\n' \
+ "${0##*/}" >&2
return 1
fi
diff --git a/src/ob-buildopk.sh b/src/ob-buildopk.sh
index 60b1907..ea250ed 100644
--- a/src/ob-buildopk.sh
+++ b/src/ob-buildopk.sh
@@ -41,7 +41,8 @@ build_opk()
main()
{
if ! ob_set_text_domain 'opkbuild'; then
- printf '%s: Error: Failed to load locale messages\n' >&2
+ printf '%s: Error: Failed to load locale messages\n' \
+ "${0##*/}" >&2
return 1
fi
diff --git a/src/ob-checkbuilddeps.sh b/src/ob-checkbuilddeps.sh
index d7abf32..b5acd85 100644
--- a/src/ob-checkbuilddeps.sh
+++ b/src/ob-checkbuilddeps.sh
@@ -84,7 +84,8 @@ check_build_deps()
main()
{
if ! ob_set_text_domain 'opkbuild'; then
- printf '%s: Error: Failed to load locale messages\n' >&2
+ printf '%s: Error: Failed to load locale messages\n' \
+ "${0##*/}" >&2
return 1
fi
diff --git a/src/ob-genchanges.sh b/src/ob-genchanges.sh
index 6fa08e8..f8dde29 100644
--- a/src/ob-genchanges.sh
+++ b/src/ob-genchanges.sh
@@ -88,7 +88,8 @@ write_files_bin()
main()
{
if ! ob_set_text_domain 'opkbuild'; then
- printf '%s: Error: Failed to load locale messages\n' >&2
+ printf '%s: Error: Failed to load locale messages\n' \
+ "${0##*/}" >&2
return 1
fi
diff --git a/src/ob-gencontrol.sh b/src/ob-gencontrol.sh
index 36c5aee..889fb61 100644
--- a/src/ob-gencontrol.sh
+++ b/src/ob-gencontrol.sh
@@ -167,7 +167,8 @@ gen_md5sums()
main()
{
if ! ob_set_text_domain 'opkbuild'; then
- printf '%s: Error: Failed to load locale messages\n' >&2
+ printf '%s: Error: Failed to load locale messages\n' \
+ "${0##*/}" >&2
return 1
fi
diff --git a/src/ob-installdocs.sh b/src/ob-installdocs.sh
index 305d3ee..999aeee 100644
--- a/src/ob-installdocs.sh
+++ b/src/ob-installdocs.sh
@@ -57,7 +57,8 @@ install_docs()
main()
{
if ! ob_set_text_domain 'opkbuild'; then
- printf '%s: Error: Failed to load locale messages\n' >&2
+ printf '%s: Error: Failed to load locale messages\n' \
+ "${0##*/}" >&2
return 1
fi
diff --git a/src/ob-installplatconf.sh b/src/ob-installplatconf.sh
index f7bcb0f..74293df 100644
--- a/src/ob-installplatconf.sh
+++ b/src/ob-installplatconf.sh
@@ -76,7 +76,8 @@ copy_config()
main()
{
if ! ob_set_text_domain 'opkbuild'; then
- printf '%s: Error: Failed to load locale messages\n' >&2
+ printf '%s: Error: Failed to load locale messages\n' \
+ "${0##*/}" >&2
return 1
fi
diff --git a/src/ob-unpacksource.sh b/src/ob-unpacksource.sh
index 6518279..6c387e8 100644
--- a/src/ob-unpacksource.sh
+++ b/src/ob-unpacksource.sh
@@ -133,7 +133,8 @@ unpack_upstream()
main()
{
if ! ob_set_text_domain 'opkbuild'; then
- printf '%s: Error: Failed to load locale messages\n' >&2
+ printf '%s: Error: Failed to load locale messages\n' \
+ "${0##*/}" >&2
return 1
fi
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 096fd68..af7ce1c 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -375,7 +375,8 @@ clean()
main()
{
if ! ob_set_text_domain 'opkbuild'; then
- printf '%s: Error: Failed to load locale messages\n' >&2
+ printf '%s: Error: Failed to load locale messages\n' \
+ "${0##*/}" >&2
return 1
fi