Author: benm
Date: 2005-04-17 15:44:02 -0400 (Sun, 17 Apr 2005)
New Revision: 43172
Modified:
trunk/release/website/mk-index.sh
Log:
format
Modified: trunk/release/website/mk-index.sh
===================================================================
--- trunk/release/website/mk-index.sh 2005-04-17 19:42:27 UTC (rev 43171)
+++ trunk/release/website/mk-index.sh 2005-04-17 19:44:02 UTC (rev 43172)
@@ -28,24 +28,22 @@
. $packagingdir/defs/$package
- if ships_package; then
- get_destroot
+ ships_package || continue
+ get_destroot
- if [ -d $DEST_ROOT/$package/*/ ]; then
+ [ -d $DEST_ROOT/$mod/*/ ] || continue
- VERSION=`ls -d $DEST_ROOT/$package/*/
-t -1 | head -n1`
-
- for i in $VERSION/*.rpm; do
-
- [[ $i == *.src.rpm ]] &&
continue
-
- base=`basename $i`
-
- echo "<ul><a
href='../$i'>$base</a></ul>" >> $OUT
- done
- fi
- fi
+ VERSION=`ls -d $DEST_ROOT/$mod/*/ -t -1 | head -n1`
+
+ for i in $VERSION/*.rpm; do
+ [[ $i == *.src.rpm ]] && continue
+
+ base=`basename $i`
+
+ echo "<ul><a href='../$i'>$base</a></ul>" >>
$OUT
+ done
+
elif [ "x${line:0:1}" == "x!" ]; then
line=$(echo ${line:1})
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches