From c20e1e8f1c3e92e7f980a74942352b0a3744edcd Mon Sep 17 00:00:00 2001 From: Timerix22 Date: Tue, 2 Jan 2024 12:28:04 +0600 Subject: [PATCH] fixed typos --- default.Makefile | 2 +- default.config | 2 +- detect_os.sh | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/default.Makefile b/default.Makefile index 508581c..f4b0332 100644 --- a/default.Makefile +++ b/default.Makefile @@ -63,7 +63,7 @@ gprof: # compiles program and runs it with callgrind (part of valgrind) # uses gprof2dot python script to generate function call tree (pip install gprof2dot) # requires graphviz (https://www.graphviz.org/download/source/) -# P.S. detailed rezults can be viewed in KCacheGrind +# P.S. detailed results can be viewed in KCacheGrind callgrind: @cbuild/call_task.sh callgrind 2>&1 | tee make_raw.log diff --git a/default.config b/default.config index 803b690..99378eb 100644 --- a/default.config +++ b/default.config @@ -151,7 +151,7 @@ case "$TASK" in # compiles program and runs it with callgrind (part of valgrind) # uses gprof2dot python script to generate function call tree (pip install gprof2dot) # requires graphviz (https://www.graphviz.org/download/source/) - # P.S. detailed rezults can be viewed in KCacheGrind + # P.S. detailed results can be viewed in KCacheGrind callgrind) OUTDIR="$OUTDIR/callgrind" # -pg adds code to executable, that generates file containing function call info (gmon.out) diff --git a/detect_os.sh b/detect_os.sh index 8c47207..9bbbfd8 100644 --- a/detect_os.sh +++ b/detect_os.sh @@ -2,10 +2,10 @@ source cbuild/colors.sh -uname_rezult="$(uname -o)" -myprint "${GRAY}uname rezult: '$uname_rezult'" +uname_result="$(uname -o)" +myprint "${GRAY}uname result: '$uname_result'" -case "$uname_rezult" in +case "$uname_result" in Msys | Cygwin | "MS/Windows") OS=WINDOWS ;; @@ -19,7 +19,7 @@ case "$uname_rezult" in OS=MACOS ;; *) - error "unknown operating system: $uname_rezult" + error "unknown operating system: $uname_result" ;; esac