Skip to content

Commit cb6a1d0

Browse files
committed
Fix sed on MacOS, and possibly fix jimtcl on Windows
1 parent bd28ea4 commit cb6a1d0

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

packages/macos/openocd/build-openocd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -euo pipefail
44

55
cd openocd
6-
sed -i 's/@ref{linuxgpiod, linuxgpiod}/@b{linuxgpiod}/g' doc/openocd.texi
6+
sed -i '' -e 's/@ref{linuxgpiod, linuxgpiod}/@b{linuxgpiod}/g' doc/openocd.texi
77

88
./bootstrap
99
# See https://github.com/raspberrypi/openocd/issues/30

packages/windows/openocd/build-openocd.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,10 @@ BUILDDIR=$(pwd)
66
INSTALLDIR="openocd-install"
77

88
cd openocd
9-
109
sed -i 's/@ref{linuxgpiod, linuxgpiod}/@b{linuxgpiod}/g' doc/openocd.texi
1110

12-
cd jimtcl
13-
./configure
14-
make
15-
make install
16-
cd ..
17-
1811
./bootstrap
19-
./configure --disable-werror
12+
./configure --disable-werror --enable-internal-jimtcl
2013
make clean
2114
make
2215
DESTDIR="$BUILDDIR/$INSTALLDIR" make install

0 commit comments

Comments
 (0)