blob: 03d4a4623686a584059bfcb8734a1927fb880b81 [file] [log] [blame]
Koushik K. Dutta24a01242010-04-01 12:21:10 -07001#!/sbin/sh
2cd $1
Koushik Dutta30a937a2011-09-05 21:14:06 -07003rm -f /tmp/nandroid.md5
4md5sum * .* > /tmp/nandroid.md5
5cp /tmp/nandroid.md5 .
6# need this because wildcard seems to cause md5sum to return 1
7if [ -f nandroid.md5 ]
8then
9 return 0
10else
11 return 1
12fi