mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
Use absolute paths for . common
Otherwise it can pick up other common in PATH first...
This commit is contained in:
4
run
4
run
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eu
|
||||
. common
|
||||
. "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/common"
|
||||
set -- ${cli_run:-} "$@"
|
||||
|
||||
# CLI handling.
|
||||
@@ -364,7 +364,7 @@ if "$tmux"; then
|
||||
fi
|
||||
fi
|
||||
cmd="time ${cmd}"
|
||||
if ! "$debug_vm"; then
|
||||
if [ -z "$debug_vm" ]; then
|
||||
cmd="${cmd} \
|
||||
|& tee >(ts -s %.s > ${common_termout_file}) \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user