Author: benm
Date: 2005-04-26 17:35:27 -0400 (Tue, 26 Apr 2005)
New Revision: 43623
Modified:
trunk/release/conf/monodevelop/ximian-build.conf
trunk/release/packaging/install-deps
trunk/release/packaging/shared-code.sh
trunk/release/website/mk-index.sh
trunk/release/website/mk-oc.sh
Log:
fixups
Modified: trunk/release/conf/monodevelop/ximian-build.conf
===================================================================
--- trunk/release/conf/monodevelop/ximian-build.conf 2005-04-26 20:51:54 UTC
(rev 43622)
+++ trunk/release/conf/monodevelop/ximian-build.conf 2005-04-26 21:35:27 UTC
(rev 43623)
@@ -33,7 +33,7 @@
<i>gtksourceview-sharp-2.0 >= 0.8</i>
<i>mono-core >= 1.1.6</i>
<i>gecko-sharp-2.0 >= 0.8</i>
- <i>gtk-sharp2 = 1.9.3</i>
+ <i>gtk-sharp2 >= 1.9.3</i>
<i>monodoc >= 1.0.5</i>
<i>intltool</i>
<i>gettext</i>
Modified: trunk/release/packaging/install-deps
===================================================================
--- trunk/release/packaging/install-deps 2005-04-26 20:51:54 UTC (rev
43622)
+++ trunk/release/packaging/install-deps 2005-04-26 21:35:27 UTC (rev
43623)
@@ -18,14 +18,12 @@
get_destroot
- [ -d packages/$DEST_ROOT/$i/*/ ] || (
+ latest_version packages/$DEST_ROOT/$i/*/ || (
echo "Could not find $i for $DISTRO (looking in $DEST_ROOT)"
exit 1;
)
- VERSION=`ls -d packages/$DEST_ROOT/$i/*/ -t -1 | head -n1`
-
- for i in $VERSION/*.rpm; do
+ for i in $LATEST_VERSION/*.rpm; do
[[ $i == *.src.rpm ]] && continue
RPMS=([EMAIL PROTECTED] $i)
Modified: trunk/release/packaging/shared-code.sh
===================================================================
--- trunk/release/packaging/shared-code.sh 2005-04-26 20:51:54 UTC (rev
43622)
+++ trunk/release/packaging/shared-code.sh 2005-04-26 21:35:27 UTC (rev
43623)
@@ -42,4 +42,12 @@
done
return 1
+}
+
+function latest_version ()
+{
+ [ "x$1" == x ] && return 1
+
+ LATEST_VERSION=`ls -d -t -1 $* | head -n1`
+ return 0
}
\ No newline at end of file
Modified: trunk/release/website/mk-index.sh
===================================================================
--- trunk/release/website/mk-index.sh 2005-04-26 20:51:54 UTC (rev 43622)
+++ trunk/release/website/mk-index.sh 2005-04-26 21:35:27 UTC (rev 43623)
@@ -32,11 +32,9 @@
ships_package || continue
get_destroot
- [ -d $DEST_ROOT/$package/*/ ] || continue
+ latest_version $DEST_ROOT/$package/*/ ||
continue
- VERSION=`ls -d $DEST_ROOT/$package/*/ -t -1 |
head -n1`
-
- for i in $VERSION/*.rpm; do
+ for i in $LATEST_VERSION/*.rpm; do
[[ $i == *.src.rpm ]] && continue
RPMS=([EMAIL PROTECTED] $i)
done
Modified: trunk/release/website/mk-oc.sh
===================================================================
--- trunk/release/website/mk-oc.sh 2005-04-26 20:51:54 UTC (rev 43622)
+++ trunk/release/website/mk-oc.sh 2005-04-26 21:35:27 UTC (rev 43623)
@@ -40,12 +40,10 @@
ships_package || continue
get_destroot
- [ -d $DEST_ROOT/$package/*/ ] || continue
+ latest_version $DEST_ROOT/$package/*/ || continue
- VERSION=`ls -d $DEST_ROOT/$package/*/ -t -1 | head -n1`
-
mkdir -p $chan/$DISTRO
- ln $VERSION/*.rpm $chan/$DISTRO
+ ln $LATEST_VERSION/*.rpm $chan/$DISTRO
done
done
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches