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 xcb_dir
="/srv/xcb.freedesktop.org/www/dist/"
9 relative_dir
="../../../individual"
11 if [ ! -d $individual_dir ]; then
12 echo "$i not a suitable base directory for individual packages."
19 list
=`find $individual_dir -name $name.tar\* `
20 if test "x$list" != x
; then
22 i
=`echo $i | sed -e "s|$individual_dir||g"`
24 ln -sf $relative_dir/$i $i
25 ln -sf $relative_dir/$i everything
/`basename $i`
28 list
=`find $xcb_dir -name $name.tar\* `
29 if test "x$list" = x
; then
30 echo "Couldn't find module ${name}"
36 ln -sf ..
/xcb
/$b everything
/$b