Skip to content

Commit

Permalink
Can specify path for built req files
Browse files Browse the repository at this point in the history
  • Loading branch information
keenanlang committed Aug 12, 2019
1 parent c6bc0a2 commit 9133a8b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions iocsh/autosaveBuild.iocsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#- ###################################################
#- PREFIX - IOC Prefix
#- BUILD_PATH - Optional: Location to create BUILT_SETTINGS and BUILT_POSITIONS
#- Default: Current Directory
#- AUTOSAVE - Location of Autosave module
#- POSITION_PERIOD- Optional: Time interval in seconds between saving positions
#- - Default: 5
Expand Down Expand Up @@ -31,5 +33,6 @@ save_restoreSet_Debug(0)
#- autosave R5-5 documentation.
epicsEnvSet("BUILT_SETTINGS", "built_settings.req")
epicsEnvSet("BUILT_POSITIONS", "built_positions.req")
autosaveBuild("$(BUILT_SETTINGS)", "_settings.req", 1)
autosaveBuild("$(BUILT_POSITIONS)", "_positions.req", 1)
autosaveBuild("$(BUILD_PATH=.)/$(BUILT_SETTINGS)", "_settings.req", 1)
autosaveBuild("$(BUILD_PATH=.)/$(BUILT_POSITIONS)", "_positions.req", 1)
set_requestfile_path("$(BUILD_PATH=.)")

0 comments on commit 9133a8b

Please sign in to comment.