Skip to content

Commit 33d1032

Browse files
fix issue with comparing large digest values
posix ( ) dosent support this long values
1 parent c848a0f commit 33d1032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

udroid/src/udroid.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ verify_integrity() {
114114
LOG "filesum=$filesha"
115115
LOG "shasum=$shasum"
116116

117-
if ((filesha != shasum)); then
117+
if [ $filesha -eq $shasum ]; then
118118
LOG "file integrity check failed"
119119
GWARN "file integrity check failed"
120120
return 1

0 commit comments

Comments
 (0)