3 # This script generates a set of $category/$module and $everything/$module
4 # links in the current directory, given a list of module versions for this
5 # release. See module-list.txt for the last release's list.
7 individual_dir
="/srv/xorg.freedesktop.org/archive/individual/"
8 relative_dir
="../../../individual"
10 if [ ! -d $individual_dir ]; then
11 echo "$i not a suitable base directory for individual packages."
18 list
=`find $individual_dir -name $name.tar\* `
19 if test "x$list" = x
; then
20 # Since .../xcb is a symlink, find doesn't follow it normally,
21 # so explicitly double-check there
22 list
=`find ${individual_dir}xcb/ -name $name.tar\* `
23 if test "x$list" = x
; then
24 echo "Couldn't find module ${name}"
28 i
=`echo $i | sed "s|$individual_dir||g"`
33 ln -sf $relative_dir/$i $i
34 ln -sf $relative_dir/$i everything
/$tarname
36 # cd first and use $tarname so that only filename appears in output
37 md5
=`cd everything ; md5sum $tarname`
38 sha1
=`cd everything ; sha1sum $tarname`
39 sha256
=`cd everything ; sha256sum $tarname`
40 cat >> $typedir/CHECKSUMS
<<EOF
47 cat >> everything
/CHECKSUMS
<<EOF