From: Junio C Hamano Date: Fri, 25 Jul 2008 19:35:10 +0000 (-0700) Subject: Makefile: fix shell quoting X-Git-Tag: v1.5.6.5~23 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/bfce5087ee01fdead5cdc52180c8eef22adbbd71?ds=inline;hp=bfce5087ee01fdead5cdc52180c8eef22adbbd71 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 ---