Ticket #1218: map_secondary_sdcard_navitmap_bin.xslt_android_path_fix_all_bin.patch

File map_secondary_sdcard_navitmap_bin.xslt_android_path_fix_all_bin.patch, 721 bytes (added by christoph thielecke, 6 years ago)

Fix path of external sdcard on android using global pattern for mapfile

  • navit/xslt/map_secondary_sdcard_navitmap_bin.xslt

    old new  
    11<?xml version="1.0"?>
    22<xsl:transform version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xi="http://www.w3.org/2001/XInclude">
    33        <xsl:template match="/config/navit/mapset/xi:include">
    4                 <map type="binfile" enabled="yes" data="/sdcard/navit/navitmap.bin" />
     4                <map type="binfile" enabled="yes" data="/mnt/extSdCard/navit/*.bin" />
    55                <xsl:text>&#x0A;                        </xsl:text>
    6                 <map type="binfile" enabled="yes" data="/sdcard/navit/navitmap_002.bin" />
    76        </xsl:template>
    87</xsl:transform>