浏览代码

* Use a single = to compare string values

git-svn-id: trunk@12490 -
joost 16 年之前
父节点
当前提交
73f31da836
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/utils/samplecfg

+ 1 - 1
compiler/utils/samplecfg

@@ -86,7 +86,7 @@ fi
 #
 #
 
 
 # When the local FP IDE configuration is used, check if the directory exists
 # When the local FP IDE configuration is used, check if the directory exists
-if [ $fpcfgfile == "$HOME"/.fp/fp.cfg -a ! -d "$HOME"/.fp ] ; then
+if [ $fpcfgfile = "$HOME"/.fp/fp.cfg -a ! -d "$HOME"/.fp ] ; then
   echo Directory $HOME/.fp did not exist, attempting to create it now
   echo Directory $HOME/.fp did not exist, attempting to create it now
   mkdir "$HOME"/.fp >/dev/null 2>&1     
   mkdir "$HOME"/.fp >/dev/null 2>&1     
 fi
 fi