diff --git a/distro/scripts/adl_cots.sh b/distro/scripts/adl_cots.sh index eae3c5b18baf4956b78301425db5bcba77717454..14e24804e9b929f4c7ab5b4e84b369c0f9c6040f 100755 --- a/distro/scripts/adl_cots.sh +++ b/distro/scripts/adl_cots.sh @@ -450,10 +450,10 @@ mk_cminpak(){ where() { echo "${FUNCNAME[0]}" - cd ${BUILD} && \ + cd ${BUILD} + rm -fr where mkdir where && \ cd where && \ - rm "*.o" && \ cp ${ADL_COTS}/getday.c . && \ cp ${ADL_COTS}/gettim.c . && \ cp ${ADL_COTS}/where.f . && \ @@ -467,9 +467,9 @@ where() nagg(){ echo "${FUNCNAME[0]}" - cd ${BUILD} && \ - tar_name=hdf5_HL_REGION-1.1.5.tar.gz && \ - rm -fr ${BUILD}/hdf5_HL_REGION* && \ + cd ${BUILD} + tar_name=hdf5_HL_REGION-1.1.5.tar.gz + rm -fr ${BUILD}/hdf5_HL_REGION* install_the_source ${tar_name} && \ cd /hdf5_HL_REGION* && \ export HDF5_INSTALL_DIR=${USER_COTS_PATH} && \