Correction Makefile.inc in order to replace MAKE value from gmake to make
ln -sf Make.inc/Makefile.inc.i686_pc_linux2.prof Makefile.inc
fi
+sed -e "s%gmake%make%" Makefile.inc > _Makefile.inc
+mv -f _Makefile.inc Makefile.inc
+chmod a+x Makefile.inc
+
# make
check_job ${PRODUCT_DIR}/MAKE.LOG make
cd ${PRODUCT_SRC_DIR}
cp -rf bin doc grf tgt ${PRODUCT_DIR}
+cd ${PRODUCT_DIR};
+
# remove sources and temporary files after building
if [ ${REMOVE_SRC_TMP} == "TRUE" ] ; then
test -d ${PRODUCT_SRC_DIR} && rm -fr ${PRODUCT_SRC_DIR}