diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ob-applypatches.sh | 3 | ||||
-rw-r--r-- | src/ob-buildenv.sh | 3 | ||||
-rw-r--r-- | src/ob-buildopk.sh | 3 | ||||
-rw-r--r-- | src/ob-checkbuilddeps.sh | 3 | ||||
-rw-r--r-- | src/ob-genchanges.sh | 3 | ||||
-rw-r--r-- | src/ob-gencontrol.sh | 3 | ||||
-rw-r--r-- | src/ob-installdocs.sh | 3 | ||||
-rw-r--r-- | src/ob-installplatconf.sh | 3 | ||||
-rw-r--r-- | src/ob-unpacksource.sh | 3 | ||||
-rw-r--r-- | src/opkbuild.sh | 3 |
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 |