From d6da7e0426ea31d7a28b6edd9de04a56001e9d97 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Wed, 24 Sep 2025 09:48:38 +0200 Subject: [PATCH] build-gnu.sh: improve setup instructions --- util/build-gnu.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/util/build-gnu.sh b/util/build-gnu.sh index 979f06880..db5832141 100755 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -75,13 +75,13 @@ release_tag_GNU="v9.8" # check if the GNU coreutils has been cloned, if not print instructions # note: the ${path_GNU} might already exist, so we check for the .git directory if test ! -d "${path_GNU}/.git"; then - echo "Could not find GNU coreutils (expected at '${path_GNU}')" - echo "Run the following to download into the expected path:" - echo "git clone --recurse-submodules https://github.com/coreutils/coreutils.git \"${path_GNU}\"" - echo "After downloading GNU coreutils to \"${path_GNU}\" run the following commands to checkout latest release tag" - echo "cd \"${path_GNU}\"" - echo "git fetch --all --tags" - echo "git checkout tags/${release_tag_GNU}" + echo "Could not find the GNU coreutils (expected at '${path_GNU}')" + echo "Download them to the expected path:" + echo " git clone --recurse-submodules https://github.com/coreutils/coreutils.git \"${path_GNU}\"" + echo "Afterwards, checkout the latest release tag:" + echo " cd \"${path_GNU}\"" + echo " git fetch --all --tags" + echo " git checkout tags/${release_tag_GNU}" exit 1 fi