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>
This commit is contained in:
Peter Kjellerstedt 2016-03-15 16:01:53 +01:00 committed by Richard Purdie
parent 16fb9b80e3
commit 51aa00f0f8
2 changed files with 8 additions and 8 deletions

View File

@ -19,11 +19,11 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# Normally this is called as '. ./oe-init-build-env builddir'
# Normally this is called as '. ./oe-init-build-env <builddir>'
#
# This works in most shells (not dash), but not all of them pass arg1 when
# being sourced. To workaround the shell limitation use "set arg1" prior
# to sourcing this script.
# This works in most shells (not dash), but not all of them pass the arguments
# when being sourced. To workaround the shell limitation use "set <builddir>"
# prior to sourcing this script.
#
if [ -n "$BASH_SOURCE" ]; then
THIS_SCRIPT=$BASH_SOURCE

View File

@ -19,11 +19,11 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# Normally this is called as '. ./oe-init-build-env builddir <portnumber> <builddir>'
# Normally this is called as '. ./oe-init-build-env-memres <portnumber> <builddir>'
#
# This works in most shells (not dash), but not all of them pass arg1 when
# being sourced. To workaround the shell limitation use "set arg1" prior
# to sourcing this script.
# This works in most shells (not dash), but not all of them pass the arguments
# when being sourced. To workaround the shell limitation use "set <portnumber>
# <builddir>" prior to sourcing this script.
#
if [ -z "$1" ]; then
echo "No port specified, using dynamically selected port"