Skip to content

Commit f7b35b3

Browse files
author
Dersim Davaod
committed
Fix minor issues with cp command.
1 parent b155e78 commit f7b35b3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/ci/remote-build-artifacts.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,12 @@ function pullNativeBuildProducts() {
144144

145145
local -r buildArtifactsToPull=("MapboxVisionNative" "MapboxVisionARNative" "MapboxVisionSafetyNative")
146146

147-
for framework in "${buildArtifactsToPull[@]}"; do
148-
pullFramework "${framework}"
147+
for buildArtifact in "${buildArtifactsToPull[@]}"; do
148+
pullFramework "${buildArtifact}"
149149

150150
# copy pulled frameworks into Carthage/Build/iOS dir to allow building
151-
cp -a "Carthage/Build/iOS/${IOS_BUILD_TYPE}-${IOS_PLATFORM_TYPE}/${framework}.framework" "Carthage/Build/iOS"
151+
echo "Copying ${buildArtifact} into Carthage/Build/iOS dir"
152+
cp -a "Carthage/Build/iOS/${IOS_BUILD_TYPE}-${IOS_PLATFORM_TYPE}/${buildArtifact}.framework" "Carthage/Build/iOS"
152153
done
153154

154155
echo

0 commit comments

Comments
 (0)