* commit '7f5a314ab6dacb72eb37c87e064b21dbd44ccc7b': Envsetup: Cygwin doesn't have 'ps -o command'.
This commit is contained in:
16
envsetup.sh
16
envsetup.sh
@@ -1080,13 +1080,15 @@ function set_java_home() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
case `ps -o command -p $$` in
|
if [ "x$SHELL" != "x/bin/bash" ]; then
|
||||||
*bash*)
|
case `ps -o command -p $$` in
|
||||||
;;
|
*bash*)
|
||||||
*)
|
;;
|
||||||
echo "WARNING: Only bash is supported, use of other shell would lead to erroneous results"
|
*)
|
||||||
;;
|
echo "WARNING: Only bash is supported, use of other shell would lead to erroneous results"
|
||||||
esac
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
# Execute the contents of any vendorsetup.sh files we can find.
|
# 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`
|
for f in `/bin/ls vendor/*/vendorsetup.sh vendor/*/*/vendorsetup.sh device/*/*/vendorsetup.sh 2> /dev/null`
|
||||||
|
Reference in New Issue
Block a user