Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f4b3faa authored by Spandan Das's avatar Spandan Das Committed by Gerrit Code Review
Browse files

Merge "Update paths to orchestrator scripts"

parents 8550b25d ca76205a
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -463,7 +463,7 @@ function multitree_lunch()
    # message, instead of FileNotFound.
    local T=$(multitree_gettop)
    if [ -n "$T" ]; then
      "$T/build/build/make/orchestrator/core/orchestrator.py" "$@"
      "$T/orchestrator/build/orchestrator/core/orchestrator.py" "$@"
    else
      _multitree_lunch_error
      return 1
@@ -471,7 +471,7 @@ function multitree_lunch()
    if $(echo "$1" | grep -q '^-') ; then
        # Calls starting with a -- argument are passed directly and the function
        # returns with the lunch.py exit code.
        "${T}/build/build/make/orchestrator/core/lunch.py" "$@"
        "${T}/orchestrator/build/orchestrator/core/lunch.py" "$@"
        code=$?
        if [[ $code -eq 2 ]] ; then
          echo 1>&2
@@ -482,7 +482,7 @@ function multitree_lunch()
        fi
    else
        # All other calls go through the --lunch variant of lunch.py
        results=($(${T}/build/build/make/orchestrator/core/lunch.py --lunch "$@"))
        results=($(${T}/orchestrator/build/orchestrator/core/lunch.py --lunch "$@"))
        code=$?
        if [[ $code -eq 2 ]] ; then
          echo 1>&2
@@ -978,7 +978,7 @@ function gettop
# TODO: Merge into gettop as part of launching multitree
function multitree_gettop
{
    local TOPFILE=build/build/make/core/envsetup.mk
    local TOPFILE=orchestrator/build/make/core/envsetup.mk
    if [ -n "$TOP" -a -f "$TOP/$TOPFILE" ] ; then
        # The following circumlocution ensures we remove symlinks from TOP.
        (cd "$TOP"; PWD= /bin/pwd)
@@ -1933,7 +1933,7 @@ function multitree_build()
{
    local T=$(multitree_gettop)
    if [ -n "$T" ]; then
      "$T/build/build/make/orchestrator/core/orchestrator.py" "$@"
      "$T/orchestrator/build/orchestrator/core/orchestrator.py" "$@"
    else
      _multitree_lunch_error
      return 1