From 721119a34f5bf7a3267eb906e11a6ef7c009e200 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Fri, 23 Sep 2011 16:18:55 +0200 Subject: [PATCH] quote arguments Signed-off-by: Steven Armstrong --- conf/type/__partition_msdos_apply/files/lib.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/conf/type/__partition_msdos_apply/files/lib.sh b/conf/type/__partition_msdos_apply/files/lib.sh index 0e9705d9..e24c1cb7 100644 --- a/conf/type/__partition_msdos_apply/files/lib.sh +++ b/conf/type/__partition_msdos_apply/files/lib.sh @@ -7,8 +7,8 @@ debug() { } fdisk_command() { - local device=$1 - local cmd=$2 + local device="$1" + local cmd="$2" debug fdisk_command "running fdisk command '${cmd}' on device ${device}" echo -en "${cmd}\nw\n" | fdisk -c -u "$device" @@ -24,11 +24,11 @@ create_disklabel() { } create_partition() { - local device=$1 - local minor=$2 - local size=$3 - local type=$4 - local primary_count=$5 + local device="$1" + local minor="$2" + local size="$3" + local type="$4" + local primary_count="$5" if [ "$type" = "extended" -o "$type" = "5" ]; then # Extended partition