Author: benm
Date: 2005-04-17 14:35:01 -0400 (Sun, 17 Apr 2005)
New Revision: 43153

Modified:
   trunk/release/packaging/build
   trunk/release/packaging/defs/gtk-sharp
   trunk/release/packaging/defs/gtk-sharp-2.0
   trunk/release/packaging/defs/libgdiplus-1.1
   trunk/release/packaging/defs/mod_mono
   trunk/release/packaging/defs/mono-1.1
   trunk/release/packaging/shared-code.sh
Log:
fix

Modified: trunk/release/packaging/build
===================================================================
--- trunk/release/packaging/build       2005-04-17 18:32:13 UTC (rev 43152)
+++ trunk/release/packaging/build       2005-04-17 18:35:01 UTC (rev 43153)
@@ -55,7 +55,7 @@
    exit 1;
 fi
 
-
+distro_info $distro
 get_destroot $distro
 
 mkdir -p packages/$DEST_ROOT/$package

Modified: trunk/release/packaging/defs/gtk-sharp
===================================================================
--- trunk/release/packaging/defs/gtk-sharp      2005-04-17 18:32:13 UTC (rev 
43152)
+++ trunk/release/packaging/defs/gtk-sharp      2005-04-17 18:35:01 UTC (rev 
43153)
@@ -17,5 +17,5 @@
 )
 
 get_destroot () {
-       DEST_ROOT=$1
+       DEST_ROOT=$DISTRO
 }
\ No newline at end of file

Modified: trunk/release/packaging/defs/gtk-sharp-2.0
===================================================================
--- trunk/release/packaging/defs/gtk-sharp-2.0  2005-04-17 18:32:13 UTC (rev 
43152)
+++ trunk/release/packaging/defs/gtk-sharp-2.0  2005-04-17 18:35:01 UTC (rev 
43153)
@@ -10,5 +10,5 @@
 )
 
 get_destroot () {
-       DEST_ROOT=$1
+       DEST_ROOT=$DISTRO
 }
\ No newline at end of file

Modified: trunk/release/packaging/defs/libgdiplus-1.1
===================================================================
--- trunk/release/packaging/defs/libgdiplus-1.1 2005-04-17 18:32:13 UTC (rev 
43152)
+++ trunk/release/packaging/defs/libgdiplus-1.1 2005-04-17 18:35:01 UTC (rev 
43153)
@@ -13,5 +13,5 @@
 USE_HOSTS=BUILD_HOSTS
 
 get_destroot () {
-       DEST_ROOT=$1
+       DEST_ROOT=$DISTRO
 }
\ No newline at end of file

Modified: trunk/release/packaging/defs/mod_mono
===================================================================
--- trunk/release/packaging/defs/mod_mono       2005-04-17 18:32:13 UTC (rev 
43152)
+++ trunk/release/packaging/defs/mod_mono       2005-04-17 18:35:01 UTC (rev 
43153)
@@ -20,15 +20,6 @@
 )
 
 get_destroot () {
-       case "$1" in
-               *-i[35]86) ARCH=x86 ;;
-                *-x86_64) ARCH=x86_64 ;;
-       esac
-       case "$1" in
-               fedora-* | redhat-*        ) DISTRO_TYPE=redhat;;
-               suse-*   | nld-* | sles-*  ) DISTRO_TYPE=suse;;
-       esac
-       
        DEST_ROOT=$DISTRO_TYPE-$ARCH
 }
 

Modified: trunk/release/packaging/defs/mono-1.1
===================================================================
--- trunk/release/packaging/defs/mono-1.1       2005-04-17 18:32:13 UTC (rev 
43152)
+++ trunk/release/packaging/defs/mono-1.1       2005-04-17 18:35:01 UTC (rev 
43153)
@@ -17,8 +17,5 @@
 )
 
 get_destroot () {
-       case "$1" in
-               *-i[35]86) DEST_ROOT=x86 ;;
-                *-x86_64) DEST_ROOT=x86_64 ;;
-       esac
+       DEST_ROOT=$ARCH
 }
\ No newline at end of file

Modified: trunk/release/packaging/shared-code.sh
===================================================================
--- trunk/release/packaging/shared-code.sh      2005-04-17 18:32:13 UTC (rev 
43152)
+++ trunk/release/packaging/shared-code.sh      2005-04-17 18:35:01 UTC (rev 
43153)
@@ -37,7 +37,7 @@
 function ships_package ()
 {
        for i in USE_HOSTS; do
-               [[ $i == $DISTRO]] && exit 1
+               [[ $i == $DISTRO ]] && exit 1
        done
        
        exit 0

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to