Use absolute paths for . common

Otherwise it can pick up other common in PATH first...
This commit is contained in:
Ciro Santilli
2018-07-22 10:42:46 +01:00
parent 291de25ac7
commit d330f8d250
14 changed files with 15 additions and 15 deletions

4
run
View File

@@ -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}) \
"