From: <dan...@us...> - 2009-06-03 19:56:23
|
Revision: 1333 http://cegcc.svn.sourceforge.net/cegcc/?rev=1333&view=rev Author: dannybackx Date: 2009-06-03 19:56:09 +0000 (Wed, 03 Jun 2009) Log Message: ----------- Replace tail syntax Modified Paths: -------------- trunk/cegcc/src/scripts/ChangeLog trunk/cegcc/src/scripts/build-cegcc.sh trunk/cegcc/src/scripts/build-mingw32ce.sh trunk/cegcc/src/scripts/build-x86.sh Modified: trunk/cegcc/src/scripts/ChangeLog =================================================================== --- trunk/cegcc/src/scripts/ChangeLog 2009-06-02 19:15:55 UTC (rev 1332) +++ trunk/cegcc/src/scripts/ChangeLog 2009-06-03 19:56:09 UTC (rev 1333) @@ -1,3 +1,8 @@ +2009-06-03 Vincent Richomme <fo...@sm...> + + * build-{mingw32ce,cegcc,x86}.sh : Replace tail --lines=+$L2 by tail + -n $L2. This is said to be more portable. + 2009-05-31 Danny Backx <dan...@us...> * build-x86.sh : Copy Stefans patch to this script. Modified: trunk/cegcc/src/scripts/build-cegcc.sh =================================================================== --- trunk/cegcc/src/scripts/build-cegcc.sh 2009-06-02 19:15:55 UTC (rev 1332) +++ trunk/cegcc/src/scripts/build-cegcc.sh 2009-06-03 19:56:09 UTC (rev 1333) @@ -12,7 +12,7 @@ ac_default_prefix="/opt/cegcc" ac_default_destdir="${BUILD_DIR}/install" -gcc_src=gcc +export gcc_src=gcc-4.4.0 # The list of components, in build order. There's a build_FOO # function for each of these components @@ -280,7 +280,7 @@ echo "#define __CEGCC_VERSION_MINOR__ " $CEGCC_VERSION_MINOR >> ${DESTFILE} echo "#define __CEGCC_VERSION_PATCHLEVEL__ " $CEGCC_VERSION_PATCHLEVEL >> ${DESTFILE} echo "#define __CEGCC_BUILD_DATE__" `date +%Y%m%d` >> ${DESTFILE} - tail +$L2 ${INCFILE} >>${DESTFILE} + tail -n +$L2 ${INCFILE} >>${DESTFILE} cd ${BUILD_DIR} } @@ -457,7 +457,7 @@ done export TARGET="arm-cegcc" -export BUILD=`sh ${BASE_DIRECTORY}/gcc/config.guess` +export BUILD=`sh ${BASE_DIRECTORY}/${gcc_src}/config.guess` export PATH=${PREFIX}/bin:${PATH} if [ "x${host}" != "x" ]; then Modified: trunk/cegcc/src/scripts/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/scripts/build-mingw32ce.sh 2009-06-02 19:15:55 UTC (rev 1332) +++ trunk/cegcc/src/scripts/build-mingw32ce.sh 2009-06-03 19:56:09 UTC (rev 1333) @@ -277,7 +277,7 @@ echo "#define __CEGCC_VERSION_MINOR__ " $CEGCC_VERSION_MINOR >> ${DESTFILE} echo "#define __CEGCC_VERSION_PATCHLEVEL__ " $CEGCC_VERSION_PATCHLEVEL >> ${DESTFILE} echo "#define __CEGCC_BUILD_DATE__" `date +%Y%m%d` >> ${DESTFILE} - tail --lines=+$L2 ${INCFILE} >>${DESTFILE} + tail -n +$L2 ${INCFILE} >>${DESTFILE} cd ${BUILD_DIR} } Modified: trunk/cegcc/src/scripts/build-x86.sh =================================================================== --- trunk/cegcc/src/scripts/build-x86.sh 2009-06-02 19:15:55 UTC (rev 1332) +++ trunk/cegcc/src/scripts/build-x86.sh 2009-06-03 19:56:09 UTC (rev 1333) @@ -281,7 +281,7 @@ echo "#define __CEGCC_VERSION_MINOR__ " $CEGCC_VERSION_MINOR >> ${DESTFILE} echo "#define __CEGCC_VERSION_PATCHLEVEL__ " $CEGCC_VERSION_PATCHLEVEL >> ${DESTFILE} echo "#define __CEGCC_BUILD_DATE__" `date +%Y%m%d` >> ${DESTFILE} - tail --lines=+$L2 ${INCFILE} >>${DESTFILE} + tail -n +$L2 ${INCFILE} >>${DESTFILE} cd ${BUILD_DIR} } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |