Skip to content

Commit

Permalink
Fixup build script for automated build enviroment.
Browse files Browse the repository at this point in the history
  • Loading branch information
ILOVEPIE committed Apr 15, 2024
1 parent ea4c068 commit ee5e07e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/commands/update-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ if [ ! -d "$TEMP_DIR/codepage" ]; then
rm -rf "$TEMP_DIR/codepage"
git clone "https://git.sheetjs.com/sheetjs/js-codepage.git" "$TEMP_DIR/codepage"
fi
pushd "$TEMP_DIR/codepage"
CUR_DIR ="$PWD"
cd "$TEMP_DIR/codepage"
printf '%s\n' "Building codepage dependency..." | tee -a $LOG_FILE
git pull 2>&1 | tee -a $LOG_FILE
make 2>&1 | tee -a $LOG_FILE
Expand All @@ -16,4 +17,4 @@ cat "$TEMP_DIR/codepage.js" "$TEMP_DIR/codepage/cputils.js" | sed "s#require\('.
printf '%s\n' '}).call(sabre);' >> "$PROJECT_SOURCE_DIR/lib/codepage.js"
rm -f "$TEMP_DIR/codepage.js"
printf '%s\n' "Finished building codepage dependency." | tee -a $LOG_FILE
popd
cd "$CUR_DIR"

0 comments on commit ee5e07e

Please sign in to comment.