Changeset 955 for trunk/libIGCM/libIGCM_check/libIGCM_check.ksh
- Timestamp:
- 10/07/13 16:35:45 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_check/libIGCM_check.ksh
r954 r955 136 136 SEARCH_DIR=${WORKDIR} 137 137 if [ ${TargetUsr} != ${CurrentUsr} ] ; then 138 echo $SEARCH_DIR139 138 SEARCH_DIR=$( IGCM_check_ChangeUsr ${SEARCH_DIR} ) 140 echo $SEARCH_DIR141 139 fi 142 140 echo "${JobName} not in Catalog, we'll try to find it in ${SEARCH_DIR}" … … 163 161 read Choice 164 162 if [ X${Choice} == Xq ] ; then 165 exit163 return 1 166 164 else 167 165 fg_new=true … … 173 171 case ${NbOcc} in 174 172 0) 175 echo "${JobName} not found." 173 if ( ${fg_search} ) ; then 174 echo "${JobName} not found, neither in catalog nor in \$WORKDIR." 175 else 176 echo "${JobName} not found in catalog." 177 fi 176 178 echo "You can try : *) '-s' option to automatically search your \$WORKDIR ; " 177 179 echo " *) '-p' option to provide the directory (absolute path) " 178 180 echo " containing the config.card ; " 179 181 echo " *) manually editing your ${SimuCatalog}." 180 exit;;182 return 1 ;; 181 183 1) 182 184 if ( ${fg_new} ) ; then … … 197 199 else 198 200 echo "${JobName} not in Catalog." 199 exit201 return 1 200 202 fi 201 203 ;;
Note: See TracChangeset
for help on using the changeset viewer.