diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-13 17:13:29 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-13 17:13:29 +0200 |
commit | 32430d22108818f0dd88a4ada7f0f7c13b213101 (patch) | |
tree | e99df4364c0826274eb22594807fece2d5df23c8 /scripts | |
parent | df71ff76b7ea5acdb9e66122e1ba0869405d0054 (diff) |
fix some minor issues
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install.sh | 1 | ||||
-rwxr-xr-x | scripts/md5sum | 4 |
2 files changed, 3 insertions, 2 deletions
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 |