From 821aa7e0b3c222912172517ca7f8e179b5ef7a9d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 1 Apr 2012 21:58:21 +0200 Subject: Avoid '==' bashism in initial work on a custom mounts system to ensure posix compatiblity. --- scripts/live | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/live b/scripts/live index bd4ee2a..821103a 100755 --- a/scripts/live +++ b/scripts/live @@ -854,7 +854,7 @@ do_iscsi() #modprobe ib_iser modprobe iscsi_tcp local debugopt="" - [ "${DEBUG}" == "Yes" ] && debugopt="-d 8" + [ "${DEBUG}" = "Yes" ] && debugopt="-d 8" #FIXME this name is supposed to be unique - some date + ifconfig hash? ISCSI_INITIATORNAME="iqn.1993-08.org.debian.live:01:$(echo "${HWADDR}" | sed -e s/://g)" export ISCSI_INITIATORNAME @@ -1624,7 +1624,7 @@ setup_unionfs () fi # FIXME: debug stuff, remove me? - [ "${DEBUG}" == "Yes" ] && cat ${include_list} >> ${rootmnt}/${bindings}-origs + [ "${DEBUG}" = "Yes" ] && cat ${include_list} >> ${rootmnt}/${bindings}-origs while read source dest do if echo ${source} | grep -qe "^[[:space:]]*#" @@ -1664,7 +1664,7 @@ setup_unionfs () sort -k2 -sbu ${bindings} -o ${bindings} # FIXME: debug stuff, remove me? - [ "${DEBUG}" == "Yes" ] && cp ${bindings} ${rootmnt}/${bindings}-results + [ "${DEBUG}" = "Yes" ] && cp ${bindings} ${rootmnt}/${bindings}-results while read source dest do -- cgit v1.2.3