Skip to content

Commit c848a0f

Browse files
use to split the digest from stdout
1 parent 57c6352 commit c848a0f

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
@@ -110,7 +110,7 @@ verify_integrity() {
110110
local filename=$1
111111
local shasum=$2
112112

113-
filesha=$(sha256sum $filename)
113+
filesha=$(sha256sum $filename | cut -d " " -f 1)
114114
LOG "filesum=$filesha"
115115
LOG "shasum=$shasum"
116116

0 commit comments

Comments
 (0)