aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-28 02:25:22 +0100
committerSam James <sam@gentoo.org>2022-08-01 23:38:11 +0100
commitcb8eda531dad92bec9293c89f93db9b581245fd3 (patch)
tree45fdfeb256cc7be4b2e03262f2ebcbbfa98102f1 /bin/ebuild-helpers/dodoc
parentinstall-qa-check.d: 60pkgconfig: add ${ED}/usr/{lib*,share}/pkgconfig to sear... (diff)
downloadportage-cb8eda531dad92bec9293c89f93db9b581245fd3.tar.gz
portage-cb8eda531dad92bec9293c89f93db9b581245fd3.tar.bz2
portage-cb8eda531dad92bec9293c89f93db9b581245fd3.zip
bin: style tweaks
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'bin/ebuild-helpers/dodoc')
-rwxr-xr-xbin/ebuild-helpers/dodoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild-helpers/dodoc b/bin/ebuild-helpers/dodoc
index af3764b7e..28e58ae0c 100755
--- a/bin/ebuild-helpers/dodoc
+++ b/bin/ebuild-helpers/dodoc
@@ -29,10 +29,10 @@ for x in "$@" ; do
elif [ -s "${x}" ] ; then
install -m0644 "${x}" "${dir}" || { ((ret|=1)); continue; }
elif [ ! -e "${x}" ] ; then
- echo "!!! ${0##*/}: $x does not exist" 1>&2
+ echo "!!! ${0##*/}: ${x} does not exist" 1>&2
((ret|=1))
fi
done
-[[ $ret -ne 0 ]] && __helpers_die "${0##*/} failed"
+[[ ${ret} -ne 0 ]] && __helpers_die "${0##*/} failed"
exit ${ret}