aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/tcl.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-12-11 00:52:08 -0600
committerWilliam Harrington <kb0iic@berzerkula.org>2021-12-11 00:52:08 -0600
commit2c8204d6325a1a6607392d5905227b9043da17cc (patch)
tree5a2d9047d0a3fb5664c17284b92c6e572507d062 /chapter8/tcl.sh
parentf699702e72de8200632cfb95350ad51bb68c4b6f (diff)
Major updates.
Diffstat (limited to 'chapter8/tcl.sh')
-rw-r--r--chapter8/tcl.sh72
1 files changed, 36 insertions, 36 deletions
diff --git a/chapter8/tcl.sh b/chapter8/tcl.sh
index 1e75a18..0286eff 100644
--- a/chapter8/tcl.sh
+++ b/chapter8/tcl.sh
@@ -1,36 +1,36 @@
-#!/bin/bash
-set -e
-
-tar -xf ../tcl"${VERSION}"-html.tar.gz --strip-components=1 &&
-
-SRCDIR=$(pwd)
-cd unix || exit 1
-./configure --prefix=/usr \
- --mandir=/usr/share/man \
- "$([ "$(uname -m)" = x86_64 ] && echo --enable-64bit)" &&
-
-make &&
-
-sed -e "s|${SRCDIR}/unix|/usr/lib|" \
- -e "s|${SRCDIR}|/usr/include|" \
- -i tclConfig.sh &&
-
-sed -e "s|${SRCDIR}/unix/pkgs/tdbc1.1.2|/usr/lib/tdbc1.1.2|" \
- -e "s|${SRCDIR}/pkgs/tdbc1.1.2/generic|/usr/include|" \
- -e "s|${SRCDIR}/pkgs/tdbc1.1.2/library|/usr/lib/tcl8.6|" \
- -e "s|${SRCDIR}/pkgs/tdbc1.1.2|/usr/include|" \
- -i pkgs/tdbc1.1.2/tdbcConfig.sh &&
-
-sed -e "s|${SRCDIR}/unix/pkgs/itcl4.2.1|/usr/lib/itcl4.2.1|" \
- -e "s|${SRCDIR}/pkgs/itcl4.2.1/generic|/usr/include|" \
- -e "s|${SRCDIR}/pkgs/itcl4.2.1|/usr/include|" \
- -i pkgs/itcl4.2.1/itclConfig.sh &&
-
-unset SRCDIR
-
-make -j1 install &&
-
-chmod -v u+w /usr/lib/libtcl8.6.so &&
-make -j1 install-private-headers &&
-ln -sfv tclsh8.6 /usr/bin/tclsh &&
-mv /usr/share/man/man3/{Thread,Tcl_Thread}.3
+#!/bin/bash
+set -e
+
+tar -xf ../tcl"${VERSION}"-html.tar.gz --strip-components=1 &&
+
+SRCDIR=$(pwd)
+cd unix || exit 1
+./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ "$([ "$(uname -m)" = x86_64 ] && echo --enable-64bit)" &&
+
+make &&
+
+sed -e "s|${SRCDIR}/unix|/usr/lib|" \
+ -e "s|${SRCDIR}|/usr/include|" \
+ -i tclConfig.sh &&
+
+sed -e "s|${SRCDIR}/unix/pkgs/tdbc1.1.2|/usr/lib/tdbc1.1.2|" \
+ -e "s|${SRCDIR}/pkgs/tdbc1.1.2/generic|/usr/include|" \
+ -e "s|${SRCDIR}/pkgs/tdbc1.1.2/library|/usr/lib/tcl8.6|" \
+ -e "s|${SRCDIR}/pkgs/tdbc1.1.2|/usr/include|" \
+ -i pkgs/tdbc1.1.2/tdbcConfig.sh &&
+
+sed -e "s|${SRCDIR}/unix/pkgs/itcl4.2.1|/usr/lib/itcl4.2.1|" \
+ -e "s|${SRCDIR}/pkgs/itcl4.2.1/generic|/usr/include|" \
+ -e "s|${SRCDIR}/pkgs/itcl4.2.1|/usr/include|" \
+ -i pkgs/itcl4.2.1/itclConfig.sh &&
+
+unset SRCDIR
+
+make -j1 install &&
+
+chmod -v u+w /usr/lib/libtcl8.6.so &&
+make -j1 install-private-headers &&
+ln -sfv tclsh8.6 /usr/bin/tclsh &&
+mv /usr/share/man/man3/{Thread,Tcl_Thread}.3