Commit 08130e49 authored by Azat Khuziyakhmetov's avatar Azat Khuziyakhmetov
Browse files

fixed the bug with bash variable

parent d3f13582
......@@ -17,8 +17,8 @@ debug() {
INTS="sockets cores_per_socket threads_per_core main_mem"
must_be_int() {
for m in $INTS; do
if [[ "$1" == "$m" ]]; then
for m_test in $INTS; do
if [[ "$1" == "$m_test" ]]; then
return 0
fi
done
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment