------- Additional Comments From vincent dot riviere at freesbee dot fr  
2007-05-23 19:57 -------
Sorry, it doesn't work. The filesystem is always considered in binmode.
This is because you forgot the brackets in the awk regular expression !
Here is the fixed line :
build_dir_mount_point=`df ${build_dir} | awk '/[0-9]%/{print $NF;}'`

With this, a textmode filesystem fails as expected !

However, a textmode filesystem mounted in /mnt/cabinmodern is detected as 
binmode and doesn't fail. Unfortunately, I always build my binutils in this 
directory :-)

Vincent

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|vincent dot riviere at      |
                   |freesbee dot fr             |
             Status|WAITING                     |NEW


http://sourceware.org/bugzilla/show_bug.cgi?id=4334

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to