diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-07-25 23:35:10 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-25 23:36:16 +0400 |
commit | bfce5087ee01fdead5cdc52180c8eef22adbbd71 (patch) | |
tree | b38a930d7da004996bda676e3d6679bcb1df3bfc /index-pack.c | |
parent | c30e699fc509f43f459c17d3148e7d866fb9157a (diff) |
Makefile: fix shell quoting
Makefile records paths to a few programs in GIT-BUILD-OPTIONS file. These
paths need to be quoted twice: once to protect specials from the shell
that runs the generated GIT-BUILD-OPTIONS file, and again to protect them
(and the first level of quoting itself) from the shell that runs the
"echo" inside the Makefile.
You can test this by trying:
$ ln -s /bin/tar "$HOME/Tes' program/tar"
$ make TAR="$HOME/Tes' program/tar" test
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'index-pack.c')
0 files changed, 0 insertions, 0 deletions