]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Minor fix
authorvsr <vsr@opencascade.com>
Mon, 9 Dec 2013 08:34:26 +0000 (08:34 +0000)
committervsr <vsr@opencascade.com>
Mon, 9 Dec 2013 08:34:26 +0000 (08:34 +0000)
config_files/xdata.sh

index c195d19666a15293834759d679d9a8bd3340b919..95fcc31f8e1203afffb3afa804f31be8d448e04c 100755 (executable)
@@ -81,7 +81,12 @@ EOF
 check_job ${PRODUCT_DIR}/MAKE.LOG make
 check_job ${PRODUCT_DIR}/INSTALL.LOG make install
 
-cd ${PRODUCT_DIR};
+cd ${PRODUCT_DIR}
+
+if [ "${SALOME_IW_COMPSIZE}" = "1" ] ; then
+    du -sk ${PRODUCT_SRC_DIR} > ${INST_ROOT}/${PRODUCT_TYPE}.build.size
+    du -sk ${PRODUCT_DIR}     > ${INST_ROOT}/${PRODUCT_TYPE}.bin.size
+fi
 
 # remove sources and temporary files after building
 if [ ${REMOVE_SRC_TMP} = "TRUE" ] ; then