David Pursehouse f46902a800 forall: Clarify expansion of REPO_ environment values with -c
If a user executes:

  repo forall -c echo $REPO_PROJECT

then $REPO_NAME is expanded by the user's shell first, and passed
as $1 to the shell that executes echo. This will either result in
no output, or output of whatever REPO_NAME is set to in the user's
shell. Either way, this is an unexpected result.

The correct way to do it is:

  repo forall -c 'echo $REPO_PROJECT'

such that $REPO_NAME is passed in to the shell literally, and then
expanded to the value set in the environment that was passed to
the shell.

Update the documentation to make this clearer.

Change-Id: I713caee914172ad8d8f0fafacd27026502436f0d
2017-10-31 13:07:55 +09:00
..
2013-04-18 21:35:49 +05:30
2015-10-07 15:43:22 -07:00
2012-11-14 12:09:38 +09:00
2013-04-18 21:35:49 +05:30
2012-09-18 09:54:57 +02:00
2016-10-17 15:24:09 -05:00
2017-08-31 13:49:36 -07:00