mirror of
https://github.com/amnezia-vpn/amneziawg-linux-kernel-module.git
synced 2026-05-17 08:26:30 +03:00
set version in Makefile.
Fix kernel source directory
This commit is contained in:
committed by
Iurii Egorov
parent
52e4134b4d
commit
85d637ea55
@@ -81,9 +81,11 @@ else
|
||||
rm -rf "${HOME}/.rpmmacros"
|
||||
[ -f "${HOME}/.rpmmacros.orig" ] && mv "${HOME}/.rpmmacros.orig" "${HOME}/.rpmmacros"
|
||||
cd ../BUILD || exit 255
|
||||
cd "$(ls -d */)" || exit 255
|
||||
cd "$(ls -d */)" || exit 255
|
||||
fi
|
||||
|
||||
KERNEL_PATH=$(pwd)
|
||||
KERNEL_PATH="$(pwd)"
|
||||
popd > /dev/null 2>&1 || exit 1
|
||||
[ -e kernel ] && rm -f kernel
|
||||
ln -s "${KERNEL_PATH}" kernel
|
||||
|
||||
Reference in New Issue
Block a user