diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-07-25 12:35:10 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-25 12:36:16 -0700 |
commit | bfce5087ee01fdead5cdc52180c8eef22adbbd71 (patch) | |
tree | b38a930d7da004996bda676e3d6679bcb1df3bfc /t/t4011-diff-symlink.sh | |
parent | tests: propagate $(TAR) down from the toplevel Makefile (diff) | |
download | tgif-bfce5087ee01fdead5cdc52180c8eef22adbbd71.tar.xz |
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 't/t4011-diff-symlink.sh')
0 files changed, 0 insertions, 0 deletions