We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaba6fd commit 99a7fa7Copy full SHA for 99a7fa7
tools/setup-unit
@@ -9,11 +9,13 @@
9
10
11
if test -n ${BASH_VERSION} && test "${BASH_VERSINFO[0]}" -eq 3; then
12
- >&2 echo "Your version of bash(1) isn't supported by this script.";
13
- >&2 echo "You're probably running on macOS. We recommend that you either";
14
- >&2 echo 'install a newer version of bash(1) or run this script with';
15
- >&2 echo 'another shell, such as zsh(1):';
16
- >&2 echo " $ zsh ${SUDO_USER:+sudo }$0 ...";
+ >&2 cat <<__EOF__ ;
+Your version of bash(1) isn't supported by this script. You're probably
+running on macOS. We recommend that you either install a newer version
+of bash(1) or run this script with another shell, such as zsh(1):
+
17
+ $ zsh ${SUDO_USER:+sudo }$0 ...
18
+__EOF__
19
exit 1;
20
fi;
21
0 commit comments