git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Fix wrong info in `INSTALL`

From
Junio C Hamano <gitster@pobox.com>
Date
May 24, 2022, 22:21 UTC
Message-ID
<xmqqpmk2efn0.fsf@gitster.g>
In-Reply-To
<pull.1241.git.1653424998869.gitgitgadget@gmail.com>
"Shao-Ce SUN via GitGitGadget" <gitgitgadget@gmail.com> writes:
> -	$ make prefix=/usr all doc info ;# as yourself
> -	# make prefix=/usr install install-doc install-html install-info ;# as root
> +	$ make prefix=/usr all doc info ; $ as yourself

This and all the changes in the patch is wrong, but it is not entirely your fault. You need to know the shell syntax.

The semicolon in ";#" is an end of one command (i.e. "make"), and the hash is "start of comment--ignore the rest of the line.

If you replace # with $, then "$ as yourself" would be fed to the shell because $ is not a comment introducer. The command line no longer can be copied and pasted, starting from "make" to the end of the line.

Thanks.
Previous: Philippe BlainNext: Christian Couder
Message 4 of 6 in “Fix wrong info in `INSTALL`”
  1. Fix wrong info in `INSTALL`Shao-Ce SUN via GitGitGadget, May 24, 2022
  2. Ævar Arnfjörð BjarmasonMay 24, 2022
  3. Philippe BlainMay 24, 2022
  4. Junio C HamanoMay 24, 2022
  5. Christian CouderMay 25, 2022
  6. Junio C HamanoMay 25, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.