From: Chris Larson Date: Wed, 17 Mar 2010 20:35:05 +0000 (-0700) Subject: base.bbclass: Add note about base_path_relative X-Git-Tag: Release-2010-05/1~339^2~20^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0503768af714c4e8c7fc75e462d4e58e34042a7;p=openembedded.git base.bbclass: Add note about base_path_relative Signed-off-by: Chris Larson --- diff --git a/classes/base.bbclass b/classes/base.bbclass index 2f363127c6..09eb70989a 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -10,6 +10,7 @@ def base_path_join(a, *p): path += '/' + b return path +# Note: Python 2.6+ has os.path.relpath, no need for this there def base_path_relative(src, dest): """ Return a relative path from src to dest.