Fix relative path detection of ISO files
authorste-fan <s.t.e-f.a.n@web.de>
Thu, 18 Jun 2015 14:32:22 +0000 (16:32 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 19 Jun 2015 07:21:22 +0000 (09:21 +0200)
commitf7942b97a5f8de2a2a8f167cd0399bf9b55f3bc8
tree6df53742a3e3dbf2b110239ef8493d234e17826e
parent649ccf97f1b3dc1af4686622f5013d09e1ba25e8
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 (/).
42_grml