Browse Source

buildsys: support bootstrapping on Solaris by using backticks in autogen.sh

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
Yury V. Zaytsev 7 months ago
parent
commit
380c39010a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      autogen.sh

+ 3 - 1
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"