summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Balaev <balaev@tarantool.org>2022-12-22 11:43:07 +0300
committerPavel Balaev <mail@void.so>2022-12-22 12:52:28 +0300
commitfd1c1944ceae0ee17267cfd5a3020dd50c1df817 (patch)
treef60030b5db57b0399538e3bac72afe8a3b738df2
parent8f78844ecaa69a5a8ec996b65f05245a8ebb7a16 (diff)
sh: fix nonroot setup script
The script could take the value from the commented `qemu_bin_path` parameter.
-rwxr-xr-xsh/setup_nemu_nonroot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/setup_nemu_nonroot.sh b/sh/setup_nemu_nonroot.sh
index e2f8f61..44fa9db 100755
--- a/sh/setup_nemu_nonroot.sh
+++ b/sh/setup_nemu_nonroot.sh
@@ -29,7 +29,7 @@ else
exit 1
fi
- QEMU_BIN_PATH=$(grep qemu_bin_path ${USER_DIR}/.nemu.cfg | awk '{ printf "%s\n", $3 }')
+ QEMU_BIN_PATH=$(grep '^qemu_bin_path' ${USER_DIR}/.nemu.cfg | awk '{ printf "%s\n", $3 }')
if [ -z "$QEMU_BIN_PATH" ]; then
echo "Couldn't get qemu_bin_path from .nemu.cfg" >&2
exit 1