Magellan Linux

Diff of /trunk/mage/usr/lib/mage/mage4.functions.sh

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

revision 436 by niro, Mon Jan 22 00:24:14 2007 UTC revision 437 by niro, Mon Mar 19 18:05:20 2007 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  # Magellan Linux Installer Functions (mage.functions.sh)  # Magellan Linux Installer Functions (mage.functions.sh)
3  # $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage4.functions.sh,v 1.26 2007-01-22 00:24:14 niro Exp $  # $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage4.functions.sh,v 1.27 2007-03-19 18:05:20 niro Exp $
4    
5  mage_setup()  mage_setup()
6  {  {
# Line 1708  minclude() Line 1708  minclude()
1708  {  {
1709   local i   local i
1710    
1711   if [[ -n $@ ]]   if [[ -n $* ]]
1712   then   then
1713   for i in $@   for i in $*
1714   do   do
1715   [[ ${MAGEDEBUG} = on ]] && \   [[ ${MAGEDEBUG} = on ]] && \
1716   echo "--- Including ${MAGEDIR}/include/${i}.minc"   echo "--- Including ${MAGEDIR}/include/${i}.minc"
# Line 1724  sminclude() Line 1724  sminclude()
1724  {  {
1725   local i   local i
1726    
1727   if [ -n "$@" ]   if [[ -n $* ]]
1728   then   then
1729   for i in $@   for i in $*
1730   do   do
1731   echo "--- Including ${SMAGESCRIPTSDIR}/include/${i}.sminc"   echo "--- Including ${SMAGESCRIPTSDIR}/include/${i}.sminc"
1732   source ${SMAGESCRIPTSDIR}/include/${i}.sminc   source ${SMAGESCRIPTSDIR}/include/${i}.sminc

Legend:
Removed from v.436  
changed lines
  Added in v.437