Skip to content

Commit c3a17b9

Browse files
authored
Merge pull request #6839 from literally-user/6838-fix-font-representation
scripts/warn-outside-container: fix font representation
2 parents 9ca766c + 71db152 commit c3a17b9

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

scripts/warn-outside-container

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,15 @@ if [ -z "${DISABLE_WARN_OUTSIDE_CONTAINER:-}" ]; then
1010
;;
1111
*)
1212
(
13-
echo
14-
echo "\033[1mWARNING\033[0m: you are not in a container."
15-
echo
16-
echo 'Use "\033[1mmake dev\033[0m" to start an interactive development container,'
17-
echo "use \"\033[1mmake -f docker.Makefile $target\033[0m\" to execute this target"
18-
echo "in a container, or set \033[1mDISABLE_WARN_OUTSIDE_CONTAINER=1\033[0m to"
19-
echo "disable this warning."
20-
echo
21-
echo "Press \033[1mCtrl+C\033[0m now to abort, or wait for the script to continue.."
22-
echo
13+
printf "\n"
14+
printf "\033[1mWARNING\033[0m: you are not in a container.\n"
15+
printf "\n"
16+
printf 'Use "\033[1mmake dev\033[0m" to start an interactive development container,\n'
17+
printf 'use "\033[1mmake -f docker.Makefile %s\033[0m" to execute this target\n' "$target"
18+
printf "in a container, or set \033[1mDISABLE_WARN_OUTSIDE_CONTAINER=1\033[0m to\n"
19+
printf "disable this warning.\n"
20+
printf "\n"
21+
printf "Press \033[1mCtrl+C\033[0m now to abort, or wait for the script to continue..\n"
2322
) >&2
2423
sleep 5
2524
;;

0 commit comments

Comments
 (0)