This is an automated email from the ASF dual-hosted git repository.
mck pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cassandra-website.git
The following commit(s) were added to refs/heads/master by this push:
new 338bcc2 ninja-fix: Symlink for 3.11 should point to latest 3.11* (not
earliest) the previous fix for this in 7ecaff4 wasn't sorting, so head or tail
was meaningless
338bcc2 is described below
commit 338bcc26b59db04050e3bcc0d4fb1fc61cdae216
Author: mck <[email protected]>
AuthorDate: Wed Apr 29 16:57:39 2020 +0200
ninja-fix: Symlink for 3.11 should point to latest 3.11* (not earliest)
the previous fix for this in 7ecaff4 wasn't sorting, so head or tail was
meaningless
---
docker-entrypoint.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh
index 02b5afd..a0804b1 100755
--- a/docker-entrypoint.sh
+++ b/docker-entrypoint.sh
@@ -27,7 +27,7 @@ popd
make .build-doc
# Relink the 3.11 version
-LATEST_VERSION=$(basename $(find ./doc -iname 3.11* -type d | tail -n 1))
+LATEST_VERSION=$(basename $(find ./doc -iname 3.11* -type d | sort | tail -n
1))
rm -f doc/3.11
ln -s -f ${LATEST_VERSION} doc/3.11
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]