Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    The "dlib" command not changing directory

    • Article Type: General
    • Product: Aleph
    • Product Version: 18.01

    Description:
    I am trying to use "dlib abc01" to change the to directory to /exlibris/aleph/u18_1/abc01. It doesn't work; the directory is not changed. Is that because the aleph server is not started yet?

    Resolution:
    Normally, "dlib" by itself, does not change the directory. It changes the "active_library":

    >dlib abc01
    >echo $active_library
    ABC01

    Normally, if you want change the directory to /exlibris/aleph/u18_1/abc01, you need to do "dr" (data_root) after the dlib:

    >dlib abc01
    >dr

    But I see that your v16 works as you describe. This is because the /exlibris/aleph/a16_1/alephm/proc/set_lib_env has been modified to include a "dr".

    Here is what I see in the distributed v16 set_lib_env:

    exit:
    unset tmp_lib


    Here is what I see in your v16 set_lib_env:

    exit:
    dr <<----
    unset tmp_lib

    I am uncertain who made this local modification, but that is why it is working that way on your v16.


    • Article last edited: 10/8/2013
    • Was this article helpful?