def NormjoinPath(base_path, rel_path):
 if (rel_path.startswith('$') and (not rel_path.startswith('${configuration}'))):
  return rel_path
 return os.path.normpath(os.path.join(base_path, rel_path))

def NormjoinPath ( base_path , rel_path ) : if ( rel_path . startswith ( '$' ) and ( not rel_path . startswith ( '${configuration}' ) ) ) : return rel_path return os . path . normpath ( os . path . join ( base_path , rel_path ) )
resolves rel_path against base_path and returns the result .