1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
emacs/build-aux
Paul Eggert 29dfca2355 Use ‘echo’ safely with ‘\’ or leading ‘-’
POSIX says that ‘echo FOO’ produces implementation-defined output
if FOO contains leading ‘-’, or ‘\’ anywhere, so don’t assume GNU
behavior in that case.
* Makefile.in (removenullpaths): Remove.
(epaths-force): Rewrite to avoid the need for ‘echo’.
(install-etc): Be clearer about escaping the shell metacharacters
‘\’ and ‘$’.
* Makefile.in (install-arch-indep, install-etcdoc):
* admin/charsets/mapconv, admin/merge-gnulib, admin/merge-pkg-config:
* admin/quick-install-emacs, build-aux/gitlog-to-emacslog:
* configure.ac, lib-src/rcs2log, make-dist:
* src/Makefile.in (lisp.mk):
Don’t assume ‘echo’ outputs ‘\’ and leading ‘-’ unscathed.
For example, use ‘printf '%s\n' "$foo"’ rather than ‘echo "$foo"’
if $foo can contain arbitrary characters.
* lisp/Makefile.in (TAGS): Use ‘ls’, not ‘echo’, to avoid ‘\’ issues.
* doc/lispref/two-volume.make (vol1.pdf):
* test/etags/make-src/Makefile (web ftp publish):
Use ‘printf’ rather than ‘echo -e’.
2015-10-10 18:11:27 -07:00
..
git-hooks Improve the commit-msg Git hook for unibyte environments 2015-04-14 21:57:23 +03:00
snippet Merge from gnulib, incorporating: 2015-01-01 11:06:53 -08:00
dir_top Fix the preamble text of the DIR file we install (Bug#20213) 2015-03-29 19:41:04 +03:00
gitlog-to-changelog Merge from gnulib 2015-09-25 00:23:18 -07:00
gitlog-to-emacslog Use ‘echo’ safely with ‘\’ or leading ‘-’ 2015-10-10 18:11:27 -07:00
make-info-dir Update copyright year to 2015 2015-01-01 14:26:41 -08:00
move-if-change Merge from gnulib, incorporating: 2015-01-01 11:06:53 -08:00
msys-to-w32 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
update-copyright Merge from gnulib 2015-07-05 08:23:11 -07:00
update-subdirs * build-aux/update-subdirs: Put "no-update-autoloads: t" in output. 2015-07-22 19:22:49 -04:00