Subversion Repositories SvarDOS

Rev

Rev 66 | Rev 134 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 66 Rev 112
Line 5... Line 5...
5
# modified, added or removed from any of the repositories.
5
# modified, added or removed from any of the repositories.
6
#
6
#
7
 
7
 
8
### parameters block starts here ############################################
8
### parameters block starts here ############################################
9
 
9
 
10
REPOROOT=/srv/www/svarog386.viste.fr/repos/
10
REPOROOT='/srv/www/svarog386.viste.fr/repos/'
11
REPOROOTNOSRC=/srv/www/svarog386.viste.fr/repos-nosrc/
11
REPOROOTNOSRC='/srv/www/svarog386.viste.fr/repos-nosrc/'
12
BUILDIDX=/root/fdnpkg-buildidx/buildidx
12
BUILDIDX='/root/fdnpkg-buildidx/buildidx'
13
CDISODIR='/srv/www/svarog386.viste.fr/'
13
CDISODIR='/srv/www/svarog386.viste.fr/'
-
 
14
CDISODIRTEST='/srv/www/svarog386.viste.fr/test/'
14
CDROOT='/root/svarog386/cdroot'
15
CDROOT='/root/svarog386/cdroot'
15
CDROOTNOSRC='/root/svarog386/cdrootnosrc'
16
CDROOTNOSRC='/root/svarog386/cdrootnosrc'
16
CDROOTMICRO='/root/svarog386/cdrootmicro'
17
CDROOTMICRO='/root/svarog386/cdrootmicro'
17
CUSTFILES='/root/svarog386/files'
18
CUSTFILES='/root/svarog386/files'
18
 
19
 
19
### parameters block ends here ##############################################
20
### parameters block ends here ##############################################
20
 
21
 
-
 
22
TESTMODE=0
-
 
23
if [ "x$1" = "xprod" ]; then
-
 
24
  TESTMODE=0
-
 
25
elif [ "x$1" = "xtest" ]; then
-
 
26
  TESTMODE=1
-
 
27
  CDISODIR="$CDISODIRTEST"
-
 
28
  mkdir -p "$CDISODIR"
-
 
29
else
-
 
30
  echo "usage: build.sh prod|test"
-
 
31
  exit 1
-
 
32
fi
-
 
33
 
21
# remember where we are, so we can return there once all is done
34
# remember where we are, so we can return there once all is done
22
origdir=`pwd`
35
origdir=`pwd`
23
 
36
 
24
# clone the repositories into future 'no source' versions
37
# clone the repositories into future 'no source' versions
25
echo "cloning $REPOROOT to $REPOROOTNOSRC..."
38
echo "cloning $REPOROOT to $REPOROOTNOSRC..."