Magellan Linux

Diff of /branches/mage-next/src/smage2.sh

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

revision 172 by niro, Sun Jul 31 14:16:19 2005 UTC revision 175 by niro, Sun Jul 31 14:47:55 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.17 2005-07-31 14:16:19 niro Exp $  # $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.18 2005-07-31 14:47:55 niro Exp $
8    
9  #01.10.2004  #01.10.2004
10  # added ccache support  # added ccache support
11  # added distcc support  # added distcc support
12    
13  ## setup ##  ## setup ##
14  SMAGEVERSION=0.3.6-r19  SMAGEVERSION=0.3.7-r1
15  PKGSUFFIX="mpk"  PKGSUFFIX="mpk"
16  SMAGENAME="$1"  SMAGENAME="$1"
17  SMAGESUFFIX="smage2"  SMAGESUFFIX="smage2"
# Line 364  sminclude() { Line 364  sminclude() {
364   then   then
365   for i in $@   for i in $@
366   do   do
367   echo "--- including ${SMAGESCRIPTSDIR}/include/${i}.incl"   echo "--- Including ${SMAGESCRIPTSDIR}/include/${i}.sminc"
368   source ${SMAGESCRIPTSDIR}/include/${i}.sminc   source ${SMAGESCRIPTSDIR}/include/${i}.sminc
369   done   done
370   fi   fi
# Line 505  fi Line 505  fi
505  #download sources  #download sources
506  if [ "$1" == "download" -a -n "$2" ]  if [ "$1" == "download" -a -n "$2" ]
507  then  then
  showversion  
508   if [ ! -d ${SMAGESCRIPTSDIR} ]   if [ ! -d ${SMAGESCRIPTSDIR} ]
509   then   then
510   install -d ${SMAGESCRIPTSDIR}   install -d ${SMAGESCRIPTSDIR}

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