From: Stéphane Graber Date: Fri, 30 Aug 2013 15:47:58 +0000 (-0400) Subject: fedora: Add missing double-quotes. X-Git-Tag: lxc-1.0.0.alpha1~1^2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfa7aa3a836aef5d0f1aebe0f6eeff65d20239ad;p=thirdparty%2Flxc.git fedora: Add missing double-quotes. Reported-by: tlc Signed-off-by: Stéphane Graber --- diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in index 841af161c..922563dec 100644 --- a/templates/lxc-fedora.in +++ b/templates/lxc-fedora.in @@ -63,7 +63,7 @@ then fi fi -if [ ${CPE_NAME} != "" -a ${ID} = "fedora" -a ${VERSION_ID} != "" ] +if [ "${CPE_NAME}" != "" -a "${ID}" = "fedora" -a "${VERSION_ID}" != "" ] then fedora_host_ver=${VERSION_ID} is_fedora=true