[Git-commits] [grml/grml-rescueboot] f7942b: Fix relative path detection of ISO files

ste-fan s.t.e-f.a.n at web.de
Fri Jun 19 09:23:11 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-rescueboot
  Commit: f7942b97a5f8de2a2a8f167cd0399bf9b55f3bc8
      https://github.com/grml/grml-rescueboot/commit/f7942b97a5f8de2a2a8f167cd0399bf9b55f3bc8
  Author: ste-fan <s.t.e-f.a.n at web.de>
  Date:   2015-06-19 (Fri, 19 Jun 2015)

  Changed paths:
    M 42_grml

  Log Message:
  -----------
  Fix relative path detection of ISO files

The problem becomes apparent when using symbolic links in $ISO_LOCATION
that point to ISO files on another partition.

Calling make_system_path_relative_to_its_root not on the dirname but on
the ISO file fixes this. Also avoid a double slash (//...) in $iso_path
when $rel_dirname is just the root dir of that other partition (/).




More information about the Git-commits mailing list