Acked-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com>

On Tuesday 25 March 2014 10:05 PM, frediz@linux.vnet.ibm.com wrote:
On debian SHELL is by default /bin/sh (dash) whereas rules.mk on fedora relies on a
/bin/sh being bash it seems. Making it compatible with both

Signed-off-by: Frédéric Bonnard <frediz@linux.vnet.ibm.com>
--- a/rules.mk
+++ b/rules.mk
@@ -13,9 +13,9 @@
 # resolves the root directory at which this build is occuring
 ROOT_DIR =                                              \
         $(shell                                         \
-        while [[ `pwd` != "/" ]];                       \
+        while [ `pwd` != "/" ];                         \
         do                                              \
-                if [[ -f `pwd`/$(SPECFILENAME) ]];      \
+                if [ -f `pwd`/$(SPECFILENAME) ];        \
                 then                                    \
                         echo `pwd`;                     \
                         break;                          \


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Linux-diag-devel mailing list
Linux-diag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-diag-devel