diff options
author | Chris Larson <clarson@mvista.com> | 2009-03-13 13:35:56 -0700 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2009-03-21 20:40:53 -0700 |
commit | 4cd7e03d78aed8ee6f3bd18d569a0ee9b2587633 (patch) | |
tree | dbcea87a4931f08e58af4d27e9e483f58bf10677 /classes/gettext.bbclass | |
parent | cca2065fe51746581e17a0dce3acab9a91196fc6 (diff) |
base.bbclass: Add base_path_relative.
base_path_relative returns a relative path from src to dest.
Examples:
>>> base_path_relative("/usr/bin", "/tmp/foo/bar")
../../tmp/foo/bar
>>> base_path_relative("/usr/bin", "/usr/lib")
../lib
>>> base_path_relative("/tmp", "/tmp/foo/bar")
foo/bar
Signed-off-by: Chris Larson <clarson@mvista.com>
Diffstat (limited to 'classes/gettext.bbclass')
0 files changed, 0 insertions, 0 deletions