mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-04 12:18:08 -07:00
Closes: https://bugs.gentoo.org/833186 Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com> Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
26 lines
908 B
Diff
26 lines
908 B
Diff
Fix invalid operator in dash
|
|
|
|
Some shells, like dash, don't support [ x == x ], reporting invalid syntax,
|
|
and silently failing.
|
|
|
|
--- gputils-1.5.2.orig/doc/html-help/Makefile.am
|
|
+++ gputils-1.5.2/doc/html-help/Makefile.am
|
|
@@ -7,7 +7,7 @@
|
|
pkgdatadir = @GPUTILS_HTMLDOC_PATH@
|
|
|
|
html-doc:
|
|
- if [ "$(ENABLE_HTML_DOC)" == "yes" ]; then \
|
|
+ if [ "$(ENABLE_HTML_DOC)" = "yes" ]; then \
|
|
if [ ! -e $(DEFAULT_MPLABX_PATH)/mpasmx/8bit_device.info ]; then \
|
|
@echo "Can't find mplabx installation; HTML documentation will not be built."; \
|
|
else \
|
|
@@ -18,7 +18,7 @@
|
|
install: install-html
|
|
|
|
install-html:
|
|
- if [ "$(ENABLE_HTML_DOC)" == "yes" ]; then \
|
|
+ if [ "$(ENABLE_HTML_DOC)" = "yes" ]; then \
|
|
if [ -n "$$(ls *.html 2>/dev/null)" -a -n "$$(ls *.css 2>/dev/null)" ]; then \
|
|
$(install_sh) -d "$(DESTDIR)$(pkgdatadir)"; \
|
|
$(install_sh) -c -m 644 *.css *.html "$(DESTDIR)$(pkgdatadir)"; \
|