Fix tar layer format comment

This commit is contained in:
Joseph Schorr 2015-02-05 14:40:02 -05:00
parent 31306167ac
commit 555bd293ea

View file

@ -45,7 +45,7 @@ class TarLayerFormat(object):
clone = copy.deepcopy(tar_info)
clone.name = os.path.join(self.path_prefix, clone.name)
# If the entry is a link of some kind, and it is not relative, then prefix it as well.
# If the entry is a *hard* link, then prefix it as well. Soft links are relative.
if clone.linkname and clone.type == tarfile.LNKTYPE:
clone.linkname = os.path.join(self.path_prefix, clone.linkname)