mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 10:14:57 +00:00
16 lines
273 B
Bash
Executable File
16 lines
273 B
Bash
Executable File
#!/bin/sh -e
|
|
#
|
|
# Description
|
|
# This script records the md5 hashes of build objects
|
|
#
|
|
BIN_FILES=$(find $1 -executable -type f)
|
|
if [ "$2" = "-host" ]; then
|
|
MD5_FILE="hmd5sums.txt"
|
|
fi
|
|
|
|
if [ "$2" = "-ec" ]; then
|
|
MD5_FILE="ecmd5sums.txt"
|
|
fi
|
|
|
|
md5sum $BIN_FILES > $MD5_FILE
|