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:
parent
16fb9b80e3
commit
51aa00f0f8
|
@ -19,11 +19,11 @@
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# 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
|
# This works in most shells (not dash), but not all of them pass the arguments
|
||||||
# being sourced. To workaround the shell limitation use "set arg1" prior
|
# when being sourced. To workaround the shell limitation use "set <builddir>"
|
||||||
# to sourcing this script.
|
# prior to sourcing this script.
|
||||||
#
|
#
|
||||||
if [ -n "$BASH_SOURCE" ]; then
|
if [ -n "$BASH_SOURCE" ]; then
|
||||||
THIS_SCRIPT=$BASH_SOURCE
|
THIS_SCRIPT=$BASH_SOURCE
|
||||||
|
|
|
@ -19,11 +19,11 @@
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# 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
|
# This works in most shells (not dash), but not all of them pass the arguments
|
||||||
# being sourced. To workaround the shell limitation use "set arg1" prior
|
# when being sourced. To workaround the shell limitation use "set <portnumber>
|
||||||
# to sourcing this script.
|
# <builddir>" prior to sourcing this script.
|
||||||
#
|
#
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
echo "No port specified, using dynamically selected port"
|
echo "No port specified, using dynamically selected port"
|
||||||
|
|
Loading…
Reference in New Issue