diff options
author | Peter Kjellerstedt <pkj@axis.com> | 2016-03-15 16:01:53 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-20 23:12:30 +0000 |
commit | 51aa00f0f866687e43f1362d66796f61f5d52a79 (patch) | |
tree | 7d4bc7a7f5938c19bd4d9a1382bea62df951cd68 | |
parent | 16fb9b80e3887b053cb980317d4f28228348f689 (diff) | |
download | poky-51aa00f0f866687e43f1362d66796f61f5d52a79.tar.gz |
oe-init-build-env*: Update/correct comment about specifying arguments
(From OE-Core rev: 9c7e3cfcff08bd47b0c1eeb63d8055d8a8b12935)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | oe-init-build-env | 8 | ||||
-rwxr-xr-x | oe-init-build-env-memres | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/oe-init-build-env b/oe-init-build-env index 7b922b302a..fa9eacd890 100755 --- a/oe-init-build-env +++ b/oe-init-build-env | |||
@@ -19,11 +19,11 @@ | |||
19 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 19 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
20 | 20 | ||
21 | # | 21 | # |
22 | # Normally this is called as '. ./oe-init-build-env builddir' | 22 | # Normally this is called as '. ./oe-init-build-env <builddir>' |
23 | # | 23 | # |
24 | # This works in most shells (not dash), but not all of them pass arg1 when | 24 | # This works in most shells (not dash), but not all of them pass the arguments |
25 | # being sourced. To workaround the shell limitation use "set arg1" prior | 25 | # when being sourced. To workaround the shell limitation use "set <builddir>" |
26 | # to sourcing this script. | 26 | # prior to sourcing this script. |
27 | # | 27 | # |
28 | if [ -n "$BASH_SOURCE" ]; then | 28 | if [ -n "$BASH_SOURCE" ]; then |
29 | THIS_SCRIPT=$BASH_SOURCE | 29 | THIS_SCRIPT=$BASH_SOURCE |
diff --git a/oe-init-build-env-memres b/oe-init-build-env-memres index 092d4fe081..41c09d80d0 100755 --- a/oe-init-build-env-memres +++ b/oe-init-build-env-memres | |||
@@ -19,11 +19,11 @@ | |||
19 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 19 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
20 | 20 | ||
21 | # | 21 | # |
22 | # Normally this is called as '. ./oe-init-build-env builddir <portnumber> <builddir>' | 22 | # Normally this is called as '. ./oe-init-build-env-memres <portnumber> <builddir>' |
23 | # | 23 | # |
24 | # This works in most shells (not dash), but not all of them pass arg1 when | 24 | # This works in most shells (not dash), but not all of them pass the arguments |
25 | # being sourced. To workaround the shell limitation use "set arg1" prior | 25 | # when being sourced. To workaround the shell limitation use "set <portnumber> |
26 | # to sourcing this script. | 26 | # <builddir>" prior to sourcing this script. |
27 | # | 27 | # |
28 | if [ -z "$1" ]; then | 28 | if [ -z "$1" ]; then |
29 | echo "No port specified, using dynamically selected port" | 29 | echo "No port specified, using dynamically selected port" |