diff --git a/sync/beta-release-sync-to-staging.sh b/sync/beta-release-sync-to-staging.sh index a3120a5..5e1aa90 100644 --- a/sync/beta-release-sync-to-staging.sh +++ b/sync/beta-release-sync-to-staging.sh @@ -65,7 +65,7 @@ done # Create symlinks for repos that were once separate from the main compose -for LINK in "${LINK_REPOS[@]}"; do +for LINK in "${!LINK_REPOS[@]}"; do ln -sr "${STAGING_ROOT}/${CATEGORY_STUB}/${REV}/${LINK}" \ "${STAGING_ROOT}/${CATEGORY_STUB}/${REV}/${LINK_REPOS[$LINK]}" done diff --git a/sync/lh-release-sync-to-staging.sh b/sync/lh-release-sync-to-staging.sh index f180303..8ba381c 100644 --- a/sync/lh-release-sync-to-staging.sh +++ b/sync/lh-release-sync-to-staging.sh @@ -65,7 +65,7 @@ done # Create symlinks for repos that were once separate from the main compose -for LINK in "${LINK_REPOS[@]}"; do +for LINK in "${!LINK_REPOS[@]}"; do ln -sr "${STAGING_ROOT}/${CATEGORY_STUB}/${REV}/${LINK}" \ "${STAGING_ROOT}/${CATEGORY_STUB}/${REV}/${LINK_REPOS[$LINK]}" done diff --git a/sync/minor-release-sync-to-staging.sh b/sync/minor-release-sync-to-staging.sh index d207a2f..dd7c2cd 100644 --- a/sync/minor-release-sync-to-staging.sh +++ b/sync/minor-release-sync-to-staging.sh @@ -71,7 +71,7 @@ done # Create symlinks for repos that were once separate from the main compose -for LINK in "${LINK_REPOS[@]}"; do +for LINK in "${!LINK_REPOS[@]}"; do ln -sr "${STAGING_ROOT}/${CATEGORY_STUB}/${REV}/${LINK}" \ "${STAGING_ROOT}/${CATEGORY_STUB}/${REV}/${LINK_REPOS[$LINK]}" done