Magellan Linux

Diff of /trunk/pkgtools/add2cvs.sh

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

revision 1330 by niro, Thu Apr 24 10:27:27 2008 UTC revision 1331 by niro, Tue May 31 17:44:01 2011 UTC
# Line 3  Line 3 
3  source /usr/lib/mage/mage4.functions.sh  source /usr/lib/mage/mage4.functions.sh
4    
5  SMAGEFILE="$1"  SMAGEFILE="$1"
6    if [[ -z ${SMAGEFILE} ]]
7    then
8     echo "No smagefile given."
9     exit 1
10    fi
11  [[ -n $2 ]] && [[ $2 != -st ]] && CVS_COMMIT="$2"  [[ -n $2 ]] && [[ $2 != -st ]] && CVS_COMMIT="$2"
12  if [[ $3 = -st ]] || [[ $2 = -st ]]  if [[ $3 = -st ]] || [[ $2 = -st ]]
13  then  then
# Line 10  then Line 15  then
15   USE_SRCTARBALL=true   USE_SRCTARBALL=true
16  fi  fi
17    
18  CURARCH=i686  #CURARCH=i686
19  #CURARCH=x86_64  CURARCH=x86_64
20    
21  BUILDROOT=/mnt/BUILDROOT  BUILDROOT=/mnt/BUILDROOT-${CURARCH}
22    #BUILDROOT=/mnt/BUILDROOT
23    
24  SMAGEDIR=$(dirname ${SMAGEFILE})  SMAGEDIR=$(dirname ${SMAGEFILE})
25  MD5DIR=${SMAGEDIR}/md5  MD5DIR=${SMAGEDIR}/md5

Legend:
Removed from v.1330  
changed lines
  Added in v.1331