Skip to content

Commit

Permalink
Merge pull request #41 from epics-extensions/fix-apps-copy
Browse files Browse the repository at this point in the history
ioc/outputs: fix copying of apps and iocBoot folders
  • Loading branch information
minijackson authored Dec 1, 2023
2 parents 1bcb315 + e4fb77d commit 690a76c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ioc/modules/outputs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ in {
''
echo "Copying apps..."
${concatMapStringsSep "\n" (app: ''
cp -rfv "${app}" "$sourceRoot/${epnix.lib.getName app}"
cp -rTfv "${app}" "$sourceRoot/${epnix.lib.getName app}"
'')
config.epnix.applications.resolvedApps}
mkdir -p "$out/iocBoot"
echo "Copying additional iocBoot directories..."
${concatMapStringsSep "\n" (boot: ''
cp -rfv "${boot}" "$sourceRoot/iocBoot/${epnix.lib.getName boot}"
cp -rTfv "${boot}" "$sourceRoot/iocBoot/${epnix.lib.getName boot}"
'')
config.epnix.boot.resolvedIocBoots}
Expand All @@ -72,7 +72,7 @@ in {
postInstall =
''
if [[ -d iocBoot ]]; then
cp -rafv iocBoot "$out"
cp -rafv iocBoot -t "$out"
fi
''
Expand Down

0 comments on commit 690a76c

Please sign in to comment.