You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The recommended way of running the environment provided in your readme: docker run -it --rm -v $(pwd):/home/xv6/xv6-riscv wtakuo/xv6-env fails in many cases, because the path in which xv6-riscv is located my often include space which when used as $(pwd) causes the whole path to break and create an invalid command. Thus replacing $(pwd) with "$(pwd)" is recommended and will fix the issue.
Also to make the script runnable from other directories (when it's in a bash file and is to be launched from elsewhere) I recommend using ${0%/*} instead that will substitute the path where the script is located.
The text was updated successfully, but these errors were encountered:
The recommended way of running the environment provided in your readme:
docker run -it --rm -v $(pwd):/home/xv6/xv6-riscv wtakuo/xv6-env
fails in many cases, because the path in whichxv6-riscv
is located my often include space which when used as$(pwd)
causes the whole path to break and create an invalid command. Thus replacing$(pwd)
with"$(pwd)"
is recommended and will fix the issue.Also to make the script runnable from other directories (when it's in a bash file and is to be launched from elsewhere) I recommend using
${0%/*}
instead that will substitute the path where the script is located.The text was updated successfully, but these errors were encountered: