mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +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
|
@ -60,8 +60,10 @@ def prepare_tasksh(t):
|
|||
for line in fh:
|
||||
line = line.rstrip()
|
||||
|
||||
if line == "taskcommand='task rc.verbose:nothing rc.confirmation:no rc.hooks:off'":
|
||||
line = "taskcommand='{0} rc.verbose:nothing rc.confirmation:no rc.hooks:off rc:{1}'".format(t.taskw, t.taskrc)
|
||||
if line == "taskbin='task'":
|
||||
line = "taskbin='{0}'".format(t.taskw)
|
||||
if line == "taskrc=''":
|
||||
line = "taskrc='rc:{0}'".format(t.taskrc)
|
||||
|
||||
tasksh.append(line)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue