summaryrefslogtreecommitdiffstats
path: root/tools/module_ops/dry_run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/module_ops/dry_run.sh')
-rwxr-xr-xtools/module_ops/dry_run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/module_ops/dry_run.sh b/tools/module_ops/dry_run.sh
index 8bda820..e6bb6f2 100755
--- a/tools/module_ops/dry_run.sh
+++ b/tools/module_ops/dry_run.sh
@@ -4,7 +4,7 @@
set -euo pipefail
-VGPU_KERNEL="$OPEN_IOV_ROOT/kernel"
+VGPU_KERNEL="${OPEN_IOV_ROOT:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)}/kernel"
echo "=== Open-IOV vGPU Dry-Run Validation ==="
echo ""