mirror of
https://github.com/kneutron/ansitest.git
synced 2025-01-16 04:42:55 +08:00
14 lines
287 B
Bash
14 lines
287 B
Bash
#!/bin/bash
|
|
|
|
# REF: https://github.com/openzfs/zfs/issues/9935
|
|
# Fix compile issues on Debian
|
|
|
|
# arg1=kernel ver e.g. 4.19.9
|
|
cd /usr/src/linux-headers-$1-common/include/linux
|
|
td=$PWD; [ "$td" = "" ] && exit 404;
|
|
|
|
cd /usr/src/linux-headers-$1-amd64/include && \
|
|
ln -sfn $td .
|
|
|
|
ls -alh
|