X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=scripts%2Fcombined-ext-image.sh;h=0c7b1d993d45e85a31546d1d5c8ce4db9edd8e07;hb=84bd74057f0d2543ddbc7de2351b0a310df329c6;hp=374fe6e34413863af22d8b81cab7246128307239;hpb=140dfb485f8b9365da6be5b16c45a5597d878fb0;p=openwrt%2Fstaging%2Flynxis%2Fomap.git diff --git a/scripts/combined-ext-image.sh b/scripts/combined-ext-image.sh index 374fe6e344..0c7b1d993d 100755 --- 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" - md5=$(cat "$file" | md5sum -) + md5=$(mkhash md5 "$file") printf "%-32s%08x%32s" "$filename" $(stat -c "%s" "$file") "${md5%% *}" >> $IMG_OUT shift 2 done