From 3ef90a7e7cc5f318ff7b4e674d717e1cb6dc2d1d Mon Sep 17 00:00:00 2001 From: KO Myung-Hun Date: Tue, 9 Dec 2014 06:49:25 -0800 Subject: [PATCH] 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. --- man/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/Makefile.am b/man/Makefile.am index 02cd761..36eb35f 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -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 $@