def create_init_file(name, env):
    '''
    Create package initialization file. e.g. init_package_env.sh

    :param name: file name to be created.
    :type name: string
    :param env: the environment object.
    :type env: :class:`.Environment`
    :return: None
    '''
    aroot = os.environ["ASKAP_ROOT"]
    inittxt= """#