mirror of
https://github.com/krislamo/kernmod.git
synced 2025-09-07 14:59:30 +00:00
Remove hardcoded path
This commit is contained in:
2
build.sh
2
build.sh
@@ -42,7 +42,7 @@ function install_headers {
|
||||
|
||||
# Build and install helloworld module or module(s) in $SCRATCH
|
||||
set -x
|
||||
if [ ! -z "$(ls -Al /vagrant/scratch/ | grep -e ^d)" ]; then
|
||||
if [ ! -z "$(ls -Al $SCRATCH | grep -e ^d)" ]; then
|
||||
cd "$SCRATCH"
|
||||
for d in */ ; do
|
||||
if [ -f "$(basename $d)/override.sh" ]; then
|
||||
|
Reference in New Issue
Block a user