mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 09:53:08 +02:00
Fixes issue where bash paths were not correctly deconstructed, leading to unit tests failing when the path had a space in it
This commit is contained in:
parent
5f39b368b6
commit
9be55fc070
3 changed files with 16 additions and 12 deletions
|
@ -35,7 +35,7 @@ function find_task_binary {
|
|||
for t in "${bashtap_org_pwd}/task" "${bashtap_org_pwd}/src/task" "${bashtap_org_pwd}/../task" "${bashtap_org_pwd}/../src/task" "${bashtap_org_pwd}/../build/src/task"; do
|
||||
if [ -f "$t" ] && [ -x "$t" ]; then
|
||||
t_abs=$(bashtap_get_absolute_path "$t")
|
||||
eval "function task { ${t_abs} rc:taskrc \"\$@\"; }"
|
||||
eval "function task { '${t_abs}' rc:taskrc \"\$@\"; }"
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue