From 7977ae391040dc2209a65f43817cc2d9d27dae71 Mon Sep 17 00:00:00 2001 From: Jonathan Klimt Date: Thu, 22 Oct 2020 01:08:04 +0200 Subject: [PATCH 1/2] changed python to python3 Script is written in python3, all distros should contain python3 but python does not always correspond to python3 --- cmake/local-cmake.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/local-cmake.sh b/cmake/local-cmake.sh index 949f4f793..39206ea1b 100644 --- a/cmake/local-cmake.sh +++ b/cmake/local-cmake.sh @@ -15,7 +15,7 @@ DIR="$(basename ${ARCHIVE} .tar.gz)" relpath() { # workaround because Ubuntu seems to use an ancient realpath version # https://stackoverflow.com/questions/2564634/convert-absolute-path-into-relative-path-given-a-current-directory-using-bash#comment12808306_7305217 - python -c "import os.path; print(os.path.relpath('${2:-$PWD}','$1'))"; + python3 -c "import os.path; print(os.path.relpath('${2:-$PWD}','$1'))"; } HERMIT_TOP="$(git rev-parse --show-toplevel)" From 425ab89573aa7ec15e3afa64b02fe9e87a4cc7d0 Mon Sep 17 00:00:00 2001 From: Jonathan Klimt Date: Thu, 22 Oct 2020 01:11:00 +0200 Subject: [PATCH 2/2] Fixed incorrect repository name in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 58d7a530e..9b26204ca 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ such as: To build HermitCore from source (without compiler), the repository with its submodules has to be cloned. ```bash -$ git clone git@github.com:hermitcore/libhermit.git +$ git clone git@github.com:hermitcore/libhermit.git HermitCore $ cd HermitCore $ git submodule init $ git submodule update