Skip to content
Snippets Groups Projects
Forked from ESS EPICS Environment / wrappers / e3-require
Source project has a limited visibility.
  • Simon Rose's avatar
    afeded38
    Ensure that EPICS_DRIVER_PATH is set first · afeded38
    Simon Rose authored
    Previously, it was the case that running
    ```
    $ iocsh -r module -l cellMods
    $ iocsh -l cellMods -r module
    ```
    would both work correctly, but if you looked at the IOC log it was not
    clear why that was the case; in the former case it _appeared_ like we
    were finding the module before setting `EPICS_DRIVER_PATH`. This only
    worked because this variable is exported from the shell.
    
    This change forces the `-l` flag to be processed _before_ all of the
    other flags in order to ensure that paths are determined first.
    afeded38
    History
    Ensure that EPICS_DRIVER_PATH is set first
    Simon Rose authored
    Previously, it was the case that running
    ```
    $ iocsh -r module -l cellMods
    $ iocsh -l cellMods -r module
    ```
    would both work correctly, but if you looked at the IOC log it was not
    clear why that was the case; in the former case it _appeared_ like we
    were finding the module before setting `EPICS_DRIVER_PATH`. This only
    worked because this variable is exported from the shell.
    
    This change forces the `-l` flag to be processed _before_ all of the
    other flags in order to ensure that paths are determined first.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.