Magellan Linux

Diff of /trunk/mage/usr/lib/mage/smage2.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 167 by niro, Fri Jul 29 14:28:43 2005 UTC revision 172 by niro, Sun Jul 31 14:16:19 2005 UTC
# Line 4  Line 4 
4  # needs pkgbuild_dir (mage)  # needs pkgbuild_dir (mage)
5    
6  # SMAGE2  # SMAGE2
7  # $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.15 2005-07-29 14:28:39 niro Exp $  # $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.17 2005-07-31 14:16:19 niro Exp $
8    
9  #01.10.2004  #01.10.2004
10  # added ccache support  # added ccache support
# Line 20  SMAGESUFFIX="smage2" Line 20  SMAGESUFFIX="smage2"
20  #SMAGE2RSYNC="rsync://192.168.0.2/smage2-scripts"  #SMAGE2RSYNC="rsync://192.168.0.2/smage2-scripts"
21  MLIBDIR=/usr/lib/mage  MLIBDIR=/usr/lib/mage
22    
23    # export default C locale
24    export LC_ALL=C
25    
26  source /etc/mage.rc  source /etc/mage.rc
27    
28  showversion() {  showversion() {
# Line 354  mstripbins() { Line 357  mstripbins() {
357   find ${stripdir} | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null   find ${stripdir} | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
358  }  }
359    
360    sminclude() {
361     local i
362    
363     if [ -n "$@" ]
364     then
365     for i in $@
366     do
367     echo "--- including ${SMAGESCRIPTSDIR}/include/${i}.incl"
368     source ${SMAGESCRIPTSDIR}/include/${i}.sminc
369     done
370     fi
371    }
372    
373  setup_distcc_environment(){  setup_distcc_environment(){
374   if [ -x /usr/bin/distcc ]   if [ -x /usr/bin/distcc ]
375   then   then

Legend:
Removed from v.167  
changed lines
  Added in v.172