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

Commit 7f5a314a authored by Raphael Moll's avatar Raphael Moll Committed by Android Git Automerger
Browse files

am 169c19cc: Merge "Envsetup: Cygwin doesn\'t have \'ps -o command\'."

* commit '169c19cc':
  Envsetup: Cygwin doesn't have 'ps -o command'.
parents 683e8e17 169c19cc
Loading
Loading
Loading
Loading
+9 −7
Original line number Diff line number Diff line
@@ -1077,6 +1077,7 @@ function set_java_home() {
    fi
}

if [ "x$SHELL" != "x/bin/bash" ]; then
    case `ps -o command -p $$` in
        *bash*)
            ;;
@@ -1084,6 +1085,7 @@ case `ps -o command -p $$` in
            echo "WARNING: Only bash is supported, use of other shell would lead to erroneous results"
            ;;
    esac
fi

# Execute the contents of any vendorsetup.sh files we can find.
for f in `/bin/ls vendor/*/vendorsetup.sh vendor/*/*/vendorsetup.sh device/*/*/vendorsetup.sh 2> /dev/null`