30a937a954
Change-Id: I70cbb4df78b0bbc9d227d19aa6d9434eba2b540d
12 lines
216 B
Bash
Executable File
12 lines
216 B
Bash
Executable File
#!/sbin/sh
|
|
cd $1
|
|
rm -f /tmp/nandroid.md5
|
|
md5sum * .* > /tmp/nandroid.md5
|
|
cp /tmp/nandroid.md5 .
|
|
# need this because wildcard seems to cause md5sum to return 1
|
|
if [ -f nandroid.md5 ]
|
|
then
|
|
return 0
|
|
else
|
|
return 1
|
|
fi |