1
0
mirror of https://github.com/krislamo/kernmod.git synced 2024-12-16 03:40:35 +00:00

Remove hardcoded path

This commit is contained in:
Kris Lamoureux 2022-03-18 03:13:42 -04:00
parent 2523cb117b
commit 42c46c0556
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

View File

@ -42,7 +42,7 @@ function install_headers {
# Build and install helloworld module or module(s) in $SCRATCH # Build and install helloworld module or module(s) in $SCRATCH
set -x set -x
if [ ! -z "$(ls -Al /vagrant/scratch/ | grep -e ^d)" ]; then if [ ! -z "$(ls -Al $SCRATCH | grep -e ^d)" ]; then
cd "$SCRATCH" cd "$SCRATCH"
for d in */ ; do for d in */ ; do
if [ -f "$(basename $d)/override.sh" ]; then if [ -f "$(basename $d)/override.sh" ]; then