Ticket #70 (closed defect: fixed)

Opened 7 years ago

Last modified 6 years ago

Cook writes to wrong destination when final (back)slash in directory is missing

Reported by: UdoBorkowski Owned by: GeorgVictorVoutsinos
Priority: minor Milestone: Tools 1.1
Component: tools Version:
Severity: low Keywords:
Cc:

Description

Regarding Cook 0.9.3 (rev 136):

When specifying the destination directory for Cook without the trailing slash/backslash a wrong path is used.

Example: this command line:

cook tiddlywiki.html.recipe -d d:\mytw

creates the output file

d:\mytwtiddlywiki.html

rather than

d:\mytw\tiddlywiki.html

Cook should be more robust and always assume the given destination path refers to a directory (and automatically append the slash/backslash, if necessary)

Change History

Changed 7 years ago by JeremyRuston

  • status changed from new to assigned
  • milestone set to Tools 1.0

Changed 6 years ago by GeorgVictorVoutsinos

  • owner changed from JeremyRuston to GeorgVictorVoutsinos
  • status changed from assigned to new

Changed 6 years ago by GeorgVictorVoutsinos

  • status changed from new to assigned

Changed 6 years ago by JeremyRuston

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in changeset:1103

Changed 6 years ago by MartinBudden

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 6 years ago by MartinBudden

  • status changed from reopened to closed
  • resolution set to fixed

I think this was erroneously re-opened. It appears to work fine now.

Note: See TracTickets for help on using tickets.