def aix_path_join(path_one, path_two):
 if path_one.endswith('/'):
  path_one = path_one.rstrip('/')
 if path_two.startswith('/'):
  path_two = path_two.lstrip('/')
 final_path = ((path_one + '/') + path_two)
 return final_path

def aix_path_join ( path_one , path_two ) : if path_one . endswith ( '/' ) : path_one = path_one . rstrip ( '/' ) if path_two . startswith ( '/' ) : path_two = path_two . lstrip ( '/' ) final_path = ( ( path_one + '/' ) + path_two ) return final_path
ensures file path is built correctly for remote unix system .