Skip to content

Commit 914fd74

Browse files
scripts/warn-outside-container: fix font representation
Signed-off-by: Davlat Davydov <literally_user@hotmail.com> fix CI
1 parent ddb9864 commit 914fd74

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

scripts/warn-outside-container

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ 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."
15+
printf
16+
printf 'Use "\033[1mmake dev\033[0m" to start an interactive development container,'
17+
printf 'use "\033[1mmake -f docker.Makefile %s\033[0m" to execute this target' "$target"
18+
printf "in a container, or set \033[1mDISABLE_WARN_OUTSIDE_CONTAINER=1\033[0m to"
19+
printf "disable this warning."
20+
printf
21+
printf "Press \033[1mCtrl+C\033[0m now to abort, or wait for the script to continue.."
22+
printf "\n"
2323
) >&2
2424
sleep 5
2525
;;

0 commit comments

Comments
 (0)