Skip to content

Commit

Permalink
Merge branch 'main' into iu/xds-server-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
markmandel authored Nov 24, 2021
2 parents 5262078 + 97a9fa0 commit c37d1d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions image/archive_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ rm dependencies-src.zip || true
dependencies=("slog-json")

zip="$(pwd)/dependencies-src.zip"

echo "Archiving dependencies to: $zip"
pushd "$CARGO_HOME/registry/src"
for d in "${dependencies[@]}"; do
path=$(find . -type d -name "$d-*")
echo "Archiving $d:$path"
zip -rv "$zip" "$path"
find . -type d -name "$d-*" | xargs -I {} zip -rv "$zip" "{}"
done
popd

0 comments on commit c37d1d4

Please sign in to comment.