Skip to content

Commit

Permalink
fix: placement of cat statement in script
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin-Ray committed Nov 22, 2024
1 parent 5ee3d13 commit 5424516
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions node/src/build_index.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#!/usr/bin/env bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

cat $1/sxt_proof_of_sql_sdk_wasm.js $SCRIPT_DIR/index_tail.js > $SCRIPT_DIR/index.js
cp $1/sxt_proof_of_sql_sdk_wasm_bg.wasm $SCRIPT_DIR

# Enable error handling
set -euo pipefail

Expand Down Expand Up @@ -78,3 +75,6 @@ main() {
}

main "$@"

cat $1/sxt_proof_of_sql_sdk_wasm.js $SCRIPT_DIR/index_tail.js > $SCRIPT_DIR/index.js
cp $1/sxt_proof_of_sql_sdk_wasm_bg.wasm $SCRIPT_DIR

0 comments on commit 5424516

Please sign in to comment.