From: Nathan Scott Date: Fri, 18 Aug 2006 15:40:32 +0000 (+0000) Subject: Fix shell scripting botch wrt empty variable handling. X-Git-Tag: v1.1.0~599 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b4856f64fe6afd791ef36e5783228f775149161a;p=xfstests-dev.git Fix shell scripting botch wrt empty variable handling. Merge of master-melb:xfs-cmds:26814a by kenmcd. --- diff --git a/common.quota b/common.quota index 77368a55..a00b832e 100644 --- a/common.quota +++ b/common.quota @@ -90,7 +90,7 @@ _choose_gid() _choose_prid() { - if [ $projid_file == "" ]; then + if [ "X$projid_file" == "X" ]; then projid_file=/etc/projid fi if [ ! -f $projid_file ]; then