updated: [master] [380c390] buildsys: support bootstrapping on Solaris by using backticks in autogen.sh

0 views
Skip to first unread message

Yury V. Zaytsev

unread,
Jul 28, 2024, 4:01:33 AMJul 28
to mc-co...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages