Skip to content

Commit ed98e39

Browse files
memo33jflann
authored andcommitted
verify checksums of downloaded files in build scripts
1 parent 79da94e commit ed98e39

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/scripts/compile-release-bridge-controller.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ then
2626
# download compiler if it does not yet exist
2727
curl -L "$BUILDRULS_URL" > "$BUILDRULS_ARCHIVE"
2828
fi
29+
echo "08816a61cb64c80392328f874c3b5bc031580514c156839af9a8359784a72071 $BUILDRULS_ARCHIVE" | sha256sum --check
2930
unzip -d "$TEMP" "$BUILDRULS_ARCHIVE"
3031

3132
# build bridge controller

src/scripts/compile-release-controllers.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ then
3636
# download compiler if it does not yet exist
3737
curl -L "$COMPILER_URL" > "$COMPILER_ARCHIVE"
3838
fi
39+
echo "66fb918af3791d4e9f2ab04580e26863d7882fec16b4bdd571bdeeb340b6cfe5 $COMPILER_ARCHIVE" | sha256sum --check
3940
unzip -d "$TEMP" "$COMPILER_ARCHIVE"
4041

4142

src/scripts/compile-release-inruls.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ then
2626
# download compiler if it does not yet exist
2727
curl -L "$BUILDRULS_URL" > "$BUILDRULS_ARCHIVE"
2828
fi
29+
echo "08816a61cb64c80392328f874c3b5bc031580514c156839af9a8359784a72071 $BUILDRULS_ARCHIVE" | sha256sum --check
2930
unzip -d "$TEMP" "$BUILDRULS_ARCHIVE"
3031

3132
# build all INRULs

0 commit comments

Comments
 (0)