makefile: fix error message due to missing quotes
authorJustin Clift <justin@salasaga.org>
Thu, 20 May 2010 14:09:38 +0000 (00:09 +1000)
committerJohn Koleszar <jkoleszar@google.com>
Fri, 21 May 2010 09:51:07 +0000 (05:51 -0400)
1 liner bug fix for issue #10.  Surrounding quotation marks were
missing from a variable, causing a warning message inside a test
clause.

Change-Id: Ia21421f77c309bbd87332547374241269bbe5326

build/make/Makefile

index 412629e..93db44d 100755 (executable)
@@ -37,7 +37,7 @@ install:
        @if [ -d "$(DIST_DIR)/src" ]; then \
             mkdir -p "$(DIST_DIR)/build"; \
             cd "$(DIST_DIR)/build"; \
-            if [ $(TGT_CC) = "rvct" ] ; then \
+            if [ "$(TGT_CC)" = "rvct" ] ; then \
                                echo "../src/configure --target=$(TOOLCHAIN) --libc=$(ALT_LIBC)"; \
                                ../src/configure --target=$(TOOLCHAIN) --libc=$(ALT_LIBC); \
                        else \