diff --git a/compiler/utils/samplecfg b/compiler/utils/samplecfg index 35dbaedcdb..98de0ec180 100644 --- a/compiler/utils/samplecfg +++ b/compiler/utils/samplecfg @@ -86,7 +86,7 @@ fi # # 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 mkdir "$HOME"/.fp >/dev/null 2>&1 fi