[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gobolinux-commits
Subject:    [gobolinux-commits] r3241 - trunk/Compile/bin
From:       lucasvr () svn ! gobolinux ! org
Date:       2008-04-24 19:00:12
Message-ID: 20080424190012.D75F581A7 () oakdale ! dreamhost ! com
[Download RAW message or body]

Author: lucasvr
Date: 2008-04-24 12:00:11 -0700 (Thu, 24 Apr 2008)
New Revision: 3241

Modified:
   trunk/Compile/bin/Compile
Log:
Fix cross-compiling unmount function.

Modified: trunk/Compile/bin/Compile
===================================================================
--- trunk/Compile/bin/Compile	2008-04-24 12:48:21 UTC (rev 3240)
+++ trunk/Compile/bin/Compile	2008-04-24 19:00:11 UTC (rev 3241)
@@ -329,7 +329,11 @@
 
 function undo_mounts() {
    if Is_Entry "cross-compile" && Union_Is_Supported
-   then Quiet Union_Umount $(Union_Backend) $cross_libc_libdir $goboDevices $goboStatus
+   then 
+       Quiet Union_Umount $(Union_Backend) $cross_libc_libdir
+       for i in $goboPrograms/*/Current
+       do [ -d "$i/lib" ] && Quiet Union_Umount $(Union_Backend) $i
+       done
    fi
    [ "$1" = "--dont-exit" ] && return || exit 1
 }

_______________________________________________
gobolinux-commits mailing list
gobolinux-commits@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic