[banshee] [build] Use [[ and ]] for condition in dap-ipod.m4



commit 9a3f1c2a2c6b9dee8f95fb5242f80b4dc2c0068b
Author: Chow Loong Jin <hyperair ubuntu com>
Date:   Fri Apr 2 03:29:45 2010 +0800

    [build] Use [[ and ]] for condition in dap-ipod.m4
    
    [ and ] are clobbered by m4 expansion, and so configure complains about
    a missing "-r" command during the ipod check.

 build/m4/banshee/dap-ipod.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/build/m4/banshee/dap-ipod.m4 b/build/m4/banshee/dap-ipod.m4
index a83e4c0..ccc0894 100644
--- a/build/m4/banshee/dap-ipod.m4
+++ b/build/m4/banshee/dap-ipod.m4
@@ -19,7 +19,7 @@ AC_DEFUN([BANSHEE_CHECK_DAP_IPOD],
 		asms="`$PKG_CONFIG --variable=Libraries ipod-sharp` `$PKG_CONFIG --variable=Libraries ipod-sharp-ui`"
 		for asm in $asms; do
 			IPODSHARP_ASSEMBLIES="$IPODSHARP_ASSEMBLIES $asm"
-			[ -r "$asm.mdb" ] && IPODSHARP_ASSEMBLIES="$IPODSHARP_ASSEMBLIES $asm.mdb"
+			[[ -r "$asm.mdb" ]] && IPODSHARP_ASSEMBLIES="$IPODSHARP_ASSEMBLIES $asm.mdb"
 		done
 		AC_SUBST(IPODSHARP_ASSEMBLIES)
 		AC_SUBST(IPODSHARP_LIBS)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]