Skip to content

Commit 5eb8144

Browse files
authored
Merge pull request #8731 from cakebaker/build_gnu_improve_instructions
build-gnu.sh: improve setup instructions
2 parents a27a124 + d6da7e0 commit 5eb8144

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

util/build-gnu.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ release_tag_GNU="v9.8"
7575
# check if the GNU coreutils has been cloned, if not print instructions
7676
# note: the ${path_GNU} might already exist, so we check for the .git directory
7777
if test ! -d "${path_GNU}/.git"; then
78-
echo "Could not find GNU coreutils (expected at '${path_GNU}')"
79-
echo "Run the following to download into the expected path:"
80-
echo "git clone --recurse-submodules https://github.com/coreutils/coreutils.git \"${path_GNU}\""
81-
echo "After downloading GNU coreutils to \"${path_GNU}\" run the following commands to checkout latest release tag"
82-
echo "cd \"${path_GNU}\""
83-
echo "git fetch --all --tags"
84-
echo "git checkout tags/${release_tag_GNU}"
78+
echo "Could not find the GNU coreutils (expected at '${path_GNU}')"
79+
echo "Download them to the expected path:"
80+
echo " git clone --recurse-submodules https://github.com/coreutils/coreutils.git \"${path_GNU}\""
81+
echo "Afterwards, checkout the latest release tag:"
82+
echo " cd \"${path_GNU}\""
83+
echo " git fetch --all --tags"
84+
echo " git checkout tags/${release_tag_GNU}"
8585
exit 1
8686
fi
8787

0 commit comments

Comments
 (0)