From d41233da40aa7eb5ccb60ec4c0ffd643ee18cc78 Mon Sep 17 00:00:00 2001 From: Guilherme Rodrigues de Lima Date: Wed, 22 May 2024 15:14:20 -0300 Subject: [PATCH] base: Upadate install-functions.sh. - It was observed that some IOC need to instance their own directory in the RELEASE file, for this reason the "dependency_name" is being added before get_module_path in the install_module() function. --- CHANGES.md | 2 ++ base/install-functions.sh | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index cfa3ca0..04c93fc 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,8 @@ * base: Pmac module version update. by @guirodrigueslima in https://github.com/cnpem/epics-in-docker/pull/64 + base: Upadate install-functions.sh. by @guirodrigueslima in + https://github.com/cnpem/epics-in-docker/pull/64 ### New features diff --git a/base/install-functions.sh b/base/install-functions.sh index a7ac5e0..d6295cd 100644 --- a/base/install-functions.sh +++ b/base/install-functions.sh @@ -28,6 +28,9 @@ install_module() { release_modules="$3" cd $module_name + + echo ${dependency_name}=${PWD} >> ${EPICS_RELEASE_FILE} + get_module_path "$release_modules" > configure/RELEASE if [ -n "$NEEDS_TIRPC" ]; then @@ -40,8 +43,6 @@ install_module() { make -C iocBoot fi - echo ${dependency_name}=${PWD} >> ${EPICS_RELEASE_FILE} - cd - }