summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-23 12:06:20 +0000
committermidipix <writeonce@midipix.org>2021-04-23 12:06:20 +0000
commit99622f88e7234b3550a3c3f54d84ab038fc110de (patch)
treeb8017f306129dfc81e09da1042c7e6622a06280b
parent721ef923029741333377422b427fe00c4e7a3e4a (diff)
downloadsrcdist-99622f88e7234b3550a3c3f54d84ab038fc110de.tar.bz2
srcdist-99622f88e7234b3550a3c3f54d84ab038fc110de.tar.xz
srcdist.rawball: whitespace and coding style meditation.
-rwxr-xr-xbin/srcdist.rawball14
1 files changed, 9 insertions, 5 deletions
diff --git a/bin/srcdist.rawball b/bin/srcdist.rawball
index 55b46fa..3af5932 100755
--- a/bin/srcdist.rawball
+++ b/bin/srcdist.rawball
@@ -12,7 +12,7 @@ mb_rawball=
mb_tarball=
mb_tarball_sha256=
-mb_script="$0"
+mb_script="${0}"
mb_status=1
mb_manifest=MANIFEST.rawball
@@ -32,7 +32,8 @@ rawball_usage()
printf ' files from a known upstream source distribution tarball,\n' >&2
printf ' along with a manifest.\n\n' >&2
- printf '\nThe --ruledir argument should point to a directory containing the following files:\n' >&2
+ printf '\nThe --ruledir argument should point to a directory ' >&2
+ printf 'containing the following files:\n' >&2
printf ' upstream.sha256.known\n' >&2
printf ' rawball.include.patterns (appropriate for pax)\n' >&2
printf ' rawball.exclude.patterns (appropriate for grep -v -f)\n\n' >&2
@@ -69,7 +70,8 @@ rawball_ruledir_error()
{
mb_status=2
- printf '\n*** %s: a required file in %s is missing!\n\n' "$mb_script" "$mb_ruledir" >&2
+ printf '\n*** %s: a required file in %s is missing!\n\n' \
+ "$mb_script" "$mb_ruledir" >&2
rawball_usage
}
@@ -101,7 +103,8 @@ rawball_init_vars()
mb_known_sha256="${mb_known_sha256%% *}"
if [ "$mb_known_sha256" != "$mb_tarball_sha256" ]; then
- printf '\n*** %s: %s is not a known sha-256 signature!\n\n' "$mb_script" "$mb_tarball_sha256" >&2
+ printf '\n*** %s: %s is not a known sha-256 signature!\n\n' \
+ "$mb_script" "$mb_tarball_sha256" >&2
exit 2
fi
}
@@ -130,7 +133,8 @@ rawball_extract_upstream_tarball()
mb_rawdir=${mb_topdir}.raw
if [ -d ${mb_rawdir} ]; then
- printf '\n*** %s: the directory `%s already exists!\n\n' "$mb_script" "${mb_rawdir}'" >&2
+ printf '\n*** %s: the directory `%s already exists!\n\n' \
+ "$mb_script" "${mb_rawdir}'" >&2
exit 2
fi