[publican-list] Error in /usr/share/publican/make/Makefile.common

Robert P. J. Day rpjday at crashcourse.ca
Fri Jul 10 13:15:27 UTC 2009


line 181:

        @if [ ! -d $(COMMON_CONTENT)/$(BRAND) ]; then \
                echo; \
                echo "*ERROR: Brand $(BRAND) is not installed*" ; \
                echo "Either install $(BRAND) or change to a valid Brand."; \
                echo "Installed Brands:" \       <---- ERROR
                echo "`ls $(COMMON_CONTENT)`"; \
                exit 1; \
        fi

that line should have a semi-colon as do the rest of them.  without
it, if you try to build with an uninstalled brand, you'll get:

  *ERROR: Brand fedora is not installed*
  Either install fedora or change to a valid Brand.
  Installed Brands: echo common
  make: *** [pre] Error 1

note how the word "echo" is printed as if it's an installed brand.
that shouldn't happen, of course.  adding the semi-colon fixes it.

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Linked In:                             http://www.linkedin.com/in/rpjday
Twitter:                                       http://twitter.com/rpjday
========================================================================




More information about the publican-list mailing list