The following commit has been merged in the master branch:
commit 380c39010aaa2a58395e611e5cba581f55462a18
Author: Yury V. Zaytsev <
yu...@shurup.com>
Date: Sat Jul 27 21:17:52 2024 +0200
buildsys: support bootstrapping on Solaris by using backticks in autogen.sh
Signed-off-by: Yury V. Zaytsev <
yu...@shurup.com>
diff --git a/autogen.sh b/autogen.sh
index ee76efc..8c06da8 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -2,7 +2,9 @@
set -e
-srcdir="$(cd "$(dirname "$0")" && pwd)"
+# Use backticks to support ksh on Solaris
+basedir=`dirname "$0"`
+srcdir=`cd "$basedir" && pwd`
cd "$srcdir"
--
Midnight Commander Development