Revision: 5197
          http://ipcop.svn.sourceforge.net/ipcop/?rev=5197&view=rev
Author:   gespinasse
Date:     2010-12-01 20:21:57 +0000 (Wed, 01 Dec 2010)

Log Message:
-----------
Another log fix, write othersrc log into log directory

Modified Paths:
--------------
    ipcop/trunk/lfs/Config
    ipcop/trunk/make.sh

Modified: ipcop/trunk/lfs/Config
===================================================================
--- ipcop/trunk/lfs/Config      2010-12-01 20:06:16 UTC (rev 5196)
+++ ipcop/trunk/lfs/Config      2010-12-01 20:21:57 UTC (rev 5197)
@@ -149,7 +149,7 @@
                exit 1; \
        elif [ "$($...@_md5)" = `md5sum $(DIR_DL)/$@ | awk '{ print $$1 }'` ]; 
then \
                echo "$@ checksum OK"; \
-               echo "$@" >>$(DIR_INFO)/_build_06_othersrc-list.log; \
+               echo "$@" 
>>$(LFS_BASEDIR)/log_$(MACHINE)/_build_06_othersrc-list.log; \
        else \
                echo "A new md5 has been published for $@"; \
                echo "Previous file is loaded again"; \
@@ -157,7 +157,7 @@
                if [ "$($(notdir $@)_MD5)" = `md5sum $(DIR_TMP)/$(notdir $@) | 
awk '{ print $$1 }'` ]; then \
                        mv $(DIR_TMP)/$(notdir $@) $(DIR_DL); \
                        echo "$@ checksum OK"; \
-                       echo "$@" >>$(DIR_INFO)/_build_06_othersrc-list.log; \
+                       echo "$@" 
>>$(LFS_BASEDIR)/log_$(MACHINE)/_build_06_othersrc-list.log; \
                else \
                        echo "$@ checksum still bad"; \
                        exit 1; \

Modified: ipcop/trunk/make.sh
===================================================================
--- ipcop/trunk/make.sh 2010-12-01 20:06:16 UTC (rev 5196)
+++ ipcop/trunk/make.sh 2010-12-01 20:21:57 UTC (rev 5197)
@@ -431,11 +431,12 @@
 
#################################################################################
 ${MKDIR} $BASEDIR/log_${MACHINE}
 
-# Remove previous log before writing into
+# Remove previous log before writing into again
 # Those are totaly remade at each build, so don't accumulate
-# (user owned, so no need to wait directories are mounted to be able to use 
SUDO RM)
+# (files are user-owned, so no need to wait directories are mounted to be able 
to use SUDO RM)
 rm -f ${PREPLOGFILE} ${BASEDIR}/${LATEST}
 rm -f ${BASEDIR}/log_${MACHINE}/05_packages/*
+rm -f ${BASEDIR}/log_${MACHINE}/_build_06_othersrc-list.log
 
 
#########################################################################################################
 # Ok, now's your chance to override any of the "customizable" variables        
                                #
@@ -1078,11 +1079,8 @@
                echo -e "last svn up ${BOLD}${SVNREV}${NORMAL}"
        fi
 
-
        # Remove pre-install list of installed files in case user erase some 
files before to build again
        ${SUDO} ${RM} ${LFS}/usr/src/lsalr 2>/dev/null
-       # List of packages is totally remade at each build
-       ${RM} ${LFS}/usr/src/log_${MACHINE}/_build_06_othersrc-list.log 
2>/dev/null
 } # End of prepareenv()
 
 


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

Reply via email to