--- 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;                          \
