Revision: 5195
http://ipcop.svn.sourceforge.net/ipcop/?rev=5195&view=rev
Author: gespinasse
Date: 2010-12-01 07:13:16 +0000 (Wed, 01 Dec 2010)
Log Message:
-----------
Remove a bit of decoration, no functionnal change
Modified Paths:
--------------
ipcop/trunk/make.sh
Modified: ipcop/trunk/make.sh
===================================================================
--- ipcop/trunk/make.sh 2010-11-30 19:26:07 UTC (rev 5194)
+++ ipcop/trunk/make.sh 2010-12-01 07:13:16 UTC (rev 5195)
@@ -933,28 +933,22 @@
#########################################################################################################
-# This is the function that prepares the build environment
#
+# Function to prepare the build environment
#
#########################################################################################################
prepareenv()
{
echo -ne "${BOLD}*** Setting up our build environment${NORMAL}\n"
-
#################################################################################
- # System configuration
#
-
#################################################################################
+ # System configuration
echo "System configuration" >> ${PREPLOGFILE}
# Set umask
umask 022
-
#################################################################################
- # Trap on emergency exit
#
-
#################################################################################
+ # Trap on emergency exit
trap "exiterror 'Build process interrupted'" SIGINT SIGTERM SIGKILL
SIGSTOP SIGQUIT
-
#################################################################################
- # Setting our nice level
#
-
#################################################################################
+ # Setting our nice level
if [ x`nice` != x"${NICE}" ]; then
echo "Setting our nice level to ${NICE}" >> ${PREPLOGFILE}
echo -ne "Setting our nice level to ${NICE}"
@@ -967,9 +961,7 @@
fi
fi
-
#################################################################################
- # Set SCHED_BATCH
#
-
#################################################################################
+ # Set SCHED_BATCH
if [ -x /usr/bin/schedtool ]; then
echo -ne "Setting kernel schedular to SCHED_BATCH"
/usr/bin/schedtool -B $$
@@ -981,9 +973,7 @@
fi
fi
-
#################################################################################
- # Check TOOLS_DIR symlink
#
-
#################################################################################
+ # Check TOOLS_DIR symlink
if [ -h /${TOOLS_DIR} ]; then
${SUDO} ${RM} /${TOOLS_DIR}
fi
@@ -996,17 +986,13 @@
exiterror "Could not create /${TOOLS_DIR} symbolic link."
fi
-
#################################################################################
- # Setup environment
#
-
#################################################################################
+ # Setup environment
set +h
LC_ALL=POSIX
export LC_ALL
unset CC CXX CPP LD_LIBRARY_PATH LD_PRELOAD
-
#################################################################################
- # Make some extra directories
#
-
#################################################################################
+ # Make some extra directories
${MKDIR} ${BASEDIR}/{cache,ccache,cache/tmp}
${MKDIR} ${BASEDIR}/build_${MACHINE}/${TOOLS_DIR}/usr
${MKDIR} ${BASEDIR}/files_${MACHINE}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn