]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Redirect 'pushd' and 'popd' outputs to /dev/null.
authorakl <akl@opencascade.com>
Thu, 19 Jun 2008 12:13:53 +0000 (12:13 +0000)
committerakl <akl@opencascade.com>
Thu, 19 Jun 2008 12:13:53 +0000 (12:13 +0000)
config_files/KERNEL.sh

index 3a0202de8719f8ba8503594ec6073946c3381fec..2f745fe52e3958c264f885d75a6d54ae8ab70d81 100755 (executable)
@@ -141,13 +141,13 @@ pickup_env()
 {
 make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE} ${PRODUCT_DIR}
 if [ -d ${PRODUCT_DIR} ] ; then
-    pushd ${PRODUCT_DIR}
+    pushd ${PRODUCT_DIR} > /dev/null
     version=`cat bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]'`
     dir="${HOME}/salome_appli_$version"
     bin/salome/createAppli.sh $dir
     rm -rf $dir/env.d/*.sh
     cp -f ${PRODUCT_DIR}/salome.sh $dir/env.d
-    popd
+    popd > /dev/null
 fi
 create_config.sh ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_DIR}
 make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src ${PRODUCT_SRC_DIR}