From 32430d22108818f0dd88a4ada7f0f7c13b213101 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 13 Jun 2009 17:13:29 +0200 Subject: fix some minor issues --- scripts/install.sh | 1 + scripts/md5sum | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/install.sh b/scripts/install.sh index eadb61869..926c03b6b 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -157,6 +157,7 @@ if [ $rb532 -ne 0 ];then $sfdisk --change-id $1 1 27 $sfdisk --change-id $1 3 88 dd if=$3 of=${1}1 + sync else rootpart=${1}1 if [ $cfgfs -eq 0 ];then diff --git a/scripts/md5sum b/scripts/md5sum index 6a95a4707..24e1e9fac 100755 --- a/scripts/md5sum +++ b/scripts/md5sum @@ -2,8 +2,8 @@ # This file is part of the OpenADK project. OpenADK is copyrighted # material, please see the LICENCE file in the top-level directory. -if [ -x /usr/bin/md5sum ];then - md5sum "$@" +if [ -x /usr/bin/md5sum ]; then + /usr/bin/md5sum "$@" else md5 "$@" | sed 's#MD5 (\([^)]*\)) = \(.*\)#\2 \1#' fi -- cgit v1.2.3