Skip to content

Commit

Permalink
Update script
Browse files Browse the repository at this point in the history
  • Loading branch information
ipetr0v committed Jul 3, 2020
1 parent 59a16b2 commit fc1201b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/push_example
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fi

readonly EXAMPLE_BIN_DIR="${PWD}/examples/${EXAMPLE}/bin"
for module in "${EXAMPLE_BIN_DIR:?}"/*.wasm; do
module_hash="$(sha256sum ${module} | awk '{print $1}')"
module_hash="$(sha256sum ${module} | cut -f 1 -d ' ')"
module_name="$(basename ${module} | cut -f 1 -d '.')"

gsutil cp "${module}" "gs://oak-modules/${module_name}/${module_hash}"
Expand Down

0 comments on commit fc1201b

Please sign in to comment.