diff --git a/drake_bazel_external/setup/install_prereqs b/drake_bazel_external/setup/install_prereqs index 20ba6acc..ba1c777d 100755 --- a/drake_bazel_external/setup/install_prereqs +++ b/drake_bazel_external/setup/install_prereqs @@ -31,20 +31,6 @@ set -euxo pipefail -ros_humble=0 - -while [ "${1:-}" != "" ]; do - case "$1" in - --ros-humble) - ros_humble=1 - ;; - *) - echo 'Invalid command line argument' >&2 - exit 1 - esac - shift -done - if [[ "${EUID:-}" -ne 0 ]]; then echo 'This script must be run as root' >&2 exit 2 @@ -65,85 +51,11 @@ EOF ) wget -O drake.tar.gz \ - https://drake-packages.csail.mit.edu/drake/nightly/drake-latest-jammy.tar.gz + https://github.com/RobotLocomotion/drake/archive/master.tar.gz trap 'rm -f drake.tar.gz' EXIT tar -xf drake.tar.gz -C /opt # Show version for debugging; use echo for newline / readability. echo -e "\ndrake VERSION.TXT: $(cat /opt/drake/share/doc/drake/VERSION.TXT)\n" -/opt/drake/share/drake/setup/install_prereqs - -apt-get install --no-install-recommends gnupg - -apt-key adv --fetch-keys https://bazel.build/bazel-release.pub.gpg -echo 'deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8' \ - > /etc/apt/sources.list.d/bazel.list - -apt-get update -apt-get install --no-install-recommends $(cat < /etc/apt/sources.list.d/ros2-latest.list - - apt-get update - apt-get install --no-install-recommends $(cat <