xtaran/unburden-home-dir — pull request #2 by johanek (2012-05-10 11:16:43+00:00)
Title: Accept directory symlinks without trailing slash

It's possible to create symlinks for a directory without a trailing slash, i.e.

Desktop -> /user_data/.tmp/desktop.jvd

These weren't parsed correctly before:

WARNING: Can't handle /u/jvd/testdir: /user_data/.tmp/testdir.jvd not equal /user_data/.tmp/testdir.jvd/ at /usr/bin/unburden-home-dir line 184,

line 14.

This patch tests that the link is a directory and adds a trailing slash if required, to satisfy the following equivalence test.