Commit 09d2a597a5 introduced the bug, which is due to using single brackets conditions at the same time as *. This commit should fix it and use double brackets everywhere else. Fixes #4699
@@ -1,6 +1,6 @@
-if [ "$OSTYPE" = solaris* ]
+if [[ "$OSTYPE" = solaris* ]]
then
- if [ ! -x "$HOME/bin/nroff" ]
+ if [[ ! -x "$HOME/bin/nroff" ]]
mkdir -p "$HOME/bin"
cat > "$HOME/bin/nroff" <<EOF