Skip to content

Commit 75d704f

Browse files
revert tar extraction
1 parent 0d991de commit 75d704f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docker/toolchain/prep_freebsd.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,9 @@ mkdir /tmp/freebsdbuild && cd /tmp/freebsdbuild && \
3131
# freebsd specific lbs
3232
cd /tmp/freebsdbuild && \
3333
wget https://download.freebsd.org/ftp/releases/amd64/${freebsd_full_ver}-RELEASE/base.txz && \
34-
mkdir -p /freebsdcross/x86_64-pc-freebsd${freebsd_ver} && \
3534
cd /freebsdcross/x86_64-pc-freebsd${freebsd_ver} && \
36-
tar -xf /tmp/freebsdbuild/base.txz --strip-components=2 lib/ usr/lib/ usr/include/ && \
37-
cd usr/lib && \
35+
tar -xf /tmp/freebsdbuild/base.txz ./lib/ ./usr/lib/ ./usr/include/ && \
36+
cd /freebsdcross/x86_64-pc-freebsd${freebsd_ver}/usr/lib && \
3837
find . -xtype l|xargs ls -l|grep ' /lib/' \
3938
| awk '{print "ln -sf /freebsdcross/x86_64-pc-freebsd13"$11 " " $9}' \
4039
| /bin/sh && \

0 commit comments

Comments
 (0)