projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vti: add vti specific settings as nested json object
[openwrt/openwrt.git]
/
scripts
/
combined-ext-image.sh
diff --git
a/scripts/combined-ext-image.sh
b/scripts/combined-ext-image.sh
index 374fe6e34413863af22d8b81cab7246128307239..0c7b1d993d45e85a31546d1d5c8ce4db9edd8e07 100755
(executable)
--- a/
scripts/combined-ext-image.sh
+++ b/
scripts/combined-ext-image.sh
@@
-47,7
+47,7
@@
while [ "$#" -gt 1 ]
[ ! -f "$file" ] && echo "$ME: Not a valid file: $file" && usage
FILES="$FILES $file"
[ ! -f "$file" ] && echo "$ME: Not a valid file: $file" && usage
FILES="$FILES $file"
- md5=$(
cat "$file" | md5sum -
)
+ md5=$(
mkhash md5 "$file"
)
printf "%-32s%08x%32s" "$filename" $(stat -c "%s" "$file") "${md5%% *}" >> $IMG_OUT
shift 2
done
printf "%-32s%08x%32s" "$filename" $(stat -c "%s" "$file") "${md5%% *}" >> $IMG_OUT
shift 2
done