mirror of
https://https.git.savannah.gnu.org/git/diffutils.git
synced 2026-01-27 01:44:20 +00:00
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:
parent
1fa6140faa
commit
3ef90a7e7c
@ -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 $@
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user