build: double-quote use of $PATH

* man/Makefile.am (dist_man1_MANS): On OS/2, PATH_SEPARATOR is ';',
but unquoted, that is interpreted as the shell's statement
terminator.  Quote it.
This commit is contained in:
KO Myung-Hun 2014-12-09 06:49:25 -08:00 committed by Jim Meyering
parent 1fa6140faa
commit 3ef90a7e7c

View File

@ -29,6 +29,6 @@ sdiff.1: $S/sdiff.c sdiff.x
$(dist_man1_MANS): $(SRC_VERSION_C) help2man
$(AM_V_GEN)base=`expr $@ : '\(.*\).1'` \
&& (echo '[NAME]' && sed 's@/\* *@@; s/-/\\-/; q' $S/$$base.c) \
| PATH=..$(PATH_SEPARATOR)$$PATH \
| PATH="..$(PATH_SEPARATOR)$$PATH" \
$(srcdir)/help2man -i - -i $(srcdir)/$$base.x \
-S '$(PACKAGE) $(VERSION)' $$base > $@-t && mv $@-t $@