Subversion Repositories SvarDOS

Rev

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

Rev 557 Rev 562
Line 13... Line 13...
13
 
13
 
14
### parameters block starts here ############################################
14
### parameters block starts here ############################################
15
 
15
 
16
PKGDIR=`realpath ./packages`
16
PKGDIR=`realpath ./packages`
17
REPOROOT=`realpath ./website/repo`
17
REPOROOT=`realpath ./website/repo`
18
BUILDIDX=`realpath ./buildidx/buildidx`
18
BUILDIDX=`realpath ./buildidx/buildidx.php`
19
PUBDIR=`realpath ./website/download`
19
PUBDIR=`realpath ./website/download`
20
CDROOT=`realpath ./cdroot`
20
CDROOT=`realpath ./cdroot`
21
FLOPROOT=`realpath ./floproot`
21
FLOPROOT=`realpath ./floproot`
22
CUSTFILES=`realpath ./files`
22
CUSTFILES=`realpath ./files`
23
 
23
 
Line 69... Line 69...
69
  # now strip the sources from repo versions
69
  # now strip the sources from repo versions
70
  find "$REPOROOT/" -iname '*.zip' -exec zip "{}" -d "SOURCE/*" ';'
70
  find "$REPOROOT/" -iname '*.zip' -exec zip "{}" -d "SOURCE/*" ';'
71
  find "$REPOROOT/" -iname '*.zip' -exec zip "{}" -d "source/*" ';'
71
  find "$REPOROOT/" -iname '*.zip' -exec zip "{}" -d "source/*" ';'
72
  find "$REPOROOT/" -iname '*.zip' -exec zip "{}" -d "Source/*" ';'
72
  find "$REPOROOT/" -iname '*.zip' -exec zip "{}" -d "Source/*" ';'
73
 
73
 
74
  # hide all alternative versions under a different extension so the index builder is
-
 
75
  # not confused (filename of an alt version contains a dash, eg. "DOSMID-0.9.5.zip")
-
 
76
  rename .zip .altver "$REPOROOT"/*-*.zip
-
 
77
 
-
 
78
  # build repo index
74
  # build repo index
79
  $BUILDIDX "$REPOROOT/"
75
  php "$BUILDIDX" "$REPOROOT"
80
 
-
 
81
  # unhide all alt versions
-
 
82
  rename .altver .zip "$REPOROOT"/*.altver
-
 
83
}
76
}
84
 
77
 
85
 
78
 
86
# prepares image for floppy sets of:
79
# prepares image for floppy sets of:
87
# $1 cylinders
80
# $1 cylinders