Commit 0462ce15 authored by Vitaly Lipatov's avatar Vitaly Lipatov

improve make_md5sum for dir support

parent 193e0daf
......@@ -77,7 +77,11 @@ copy_tarball_to_tar()
make_md5sum()
{
cd "$1"
md5sum -b $2 > $2.md5
if [ -n "$2" ] ; then
md5sum -b $2 > $2.md5
else
md5sum -b * >MD5SUM
fi
cd -
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment