Skip to content

Commit 21e4365

Browse files
kishorjTimothy-Dougherty
authored andcommitted
fix sdk override script for linux platform (kubernetes-sigs#2280)
1 parent 7e42150 commit 21e4365

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/aws_sdk_model_override/setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ rm -rf "${SDK_VENDOR_PATH}"
1111
git clone --depth 1 https://github.com/aws/aws-sdk-go.git "${SDK_VENDOR_PATH}"
1212

1313
# Override the SDK models
14-
cp -r "${SDK_MODEL_OVERRIDE_SRC_PATH}/" "${SDK_MODEL_OVERRIDE_DST_PATH}/"
14+
cp -r "${SDK_MODEL_OVERRIDE_SRC_PATH}"/* "${SDK_MODEL_OVERRIDE_DST_PATH}"/.
1515

1616
# Generate the SDK
1717
pushd "${SDK_VENDOR_PATH}"
1818
make generate
1919
popd
2020

2121
# Use the vendored version of aws-sdk-go
22-
go mod edit -replace github.com/aws/aws-sdk-go="${SDK_VENDOR_PATH}"
22+
go mod edit -replace github.com/aws/aws-sdk-go="${SDK_VENDOR_PATH}"

0 commit comments

Comments
 (0)