File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ if [ -n "${comp_name}" ] && [ -z "${comp_srcname}" ];then
7474 submodule_name=$( echo " models/" ${sub_srcname} )
7575 fi
7676 if [ " $( ls -A ${cmake_tsmp2_dir} /${submodule_name} | wc -l) " -ne 0 ]; then
77- read -p " submodule ${submodule_name} aleady exists. Do you want to overwrite it? (y/N) " yn
77+ read -p " submodule ${submodule_name} already exists. Do you want to overwrite it? (y/N) " yn
7878 if [ " ${yn,} " = " y" ]; then
7979 message " Overwrite submodule ${submodule_name} "
8080 git submodule update --init --force -- ${submodule_name}
@@ -103,7 +103,7 @@ while [[ "$#" -gt 0 ]]; do
103103 -h|--help) help_tsmp2;;
104104 -q|--quiet) quiet=y;;
105105 -v|--verbose) verbose_makefile=y;;
106- --version) echo " $0 version 0.1.0" ; exit 1 ;;
106+ --version) echo " $0 version 0.1.0" ; exit 0 ;;
107107 --icon) icon=y;;
108108 --eclm) eclm=y;;
109109 --parflow) parflow=y parflowGPU=n;;
197197
198198# Check if the supplied environment file actually exists.
199199if [[ ! -f " ${env} " ]]; then
200- message " ERROR: Environment file \" ${env} \" not found" .
200+ message " ERROR: Environment file \" ${env} \" not found. "
201201 exit 1
202202fi
203203
You can’t perform that action at this time.
0 commit comments