Skip to content

Commit

Permalink
Merge pull request #7 from pneerincx/master
Browse files Browse the repository at this point in the history
Bugfix for syncing multiple env copies of the primary /apps environment.
  • Loading branch information
RoanKanninga authored Aug 24, 2020
2 parents fb1175e + d35b99e commit bdf239f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/hpc-environment-sync.bash
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ do
# Check for presence of folders for logical file system (LFS) names
# and if present whether they contain a copy of ${SOURCE_ROOT_PATH}.
#
declare -a LFS_MOUNT_POINTS="$(find ${DESTINATION_MOUNT_POINT_PARENTS[${i}]} -mindepth 1 -maxdepth 1 -type d)"
readarray -t LFS_MOUNT_POINTS < <(find ${DESTINATION_MOUNT_POINT_PARENTS[${i}]} -mindepth 1 -maxdepth 1 -type d)
for (( j = 0 ; j < ${#LFS_MOUNT_POINTS[@]:-0} ; j++ ))
do
DESTINATION_ROOT_DIR="${LFS_MOUNT_POINTS[${j}]}${SOURCE_ROOT_PATH}"
Expand Down

0 comments on commit bdf239f

Please sign in to comment.