Opened 10 years ago

Closed 9 years ago

#7 closed enhancement/feature request (fixed)

~ is not parsed in configuration file

Reported by: KaZeR Owned by: KaZeR
Priority: minor Milestone: version 0.1.0
Component: core Version:
Severity: Keywords:
Cc:

Description

This is a 'enhancement' kind of bug. If you try to use the ~ to tell navit to load gps data files for example from your homedir, it isn't parsed as '$user_home'

Change History (3)

comment:1 Changed 10 years ago by mattcallow

This seems to be working, at least for mapfiles. I have

<map type="binfile" enabled="yes" data="~/.navit/australia.bin"/>

In my navit.xml, which is expanded at runtime to

data_binfile:map_new_binfile:file_create /home/matt/.navit/australia.bin

comment:2 Changed 9 years ago by KaZeR

  • Milestone set to version 0.1.0
  • Owner changed from somebody to KaZeR
  • Status changed from new to assigned

Works for binfile, but not for m&g

comment:3 Changed 9 years ago by Singesang

  • Resolution set to fixed
  • Status changed from assigned to closed

M&G driver now understands $HOME and ~ as the binfile driver

Note: See TracTickets for help on using tickets.