[前][次][番号順一覧][スレッド一覧]

ruby-changes:56964

From: Takashi <ko1@a...>
Date: Mon, 12 Aug 2019 20:21:21 +0900 (JST)
Subject: [ruby-changes:56964] Takashi Kokubun: a5f9306065 (master): Simplify sudo specification

https://git.ruby-lang.org/ruby.git/commit/?id=a5f9306065

From a5f9306065b8a50cca6cdb65003d0c36d1180c09 Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Mon, 12 Aug 2019 20:20:37 +0900
Subject: Simplify sudo specification


diff --git a/.travis.yml b/.travis.yml
index fc82493..b64d7eb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -92,7 +92,7 @@ env: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L92
     #       - ubuntu-toolchain-r-test
     before_install:
       - tool/travis_retry.sh sudo -E apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
-      - tool/travis_retry.sh bash -c "sudo rm -rf '${TRAVIS_ROOT}/var/lib/apt/lists/'* && exec sudo apt-get update -yq"
+      - tool/travis_retry.sh sudo bash -c "rm -rf '${TRAVIS_ROOT}/var/lib/apt/lists/'* && exec apt-get update -yq"
       - |-
         tool/travis_retry.sh sudo -E apt-get $travis_apt_get_options install \
           gcc-8 \
@@ -119,7 +119,7 @@ env: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L119
         config:
           retries: true
     before_install:
-      - tool/travis_retry.sh bash -c "sudo rm -rf '${TRAVIS_ROOT}/var/lib/apt/lists/'* && exec sudo apt-get update -yq"
+      - tool/travis_retry.sh sudo bash -c "rm -rf '${TRAVIS_ROOT}/var/lib/apt/lists/'* && exec apt-get update -yq"
       - |-
         tool/travis_retry.sh sudo -E apt-get $travis_apt_get_options install \
           clang-8 \
@@ -278,7 +278,7 @@ env: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L278
     #       - ubuntu-toolchain-r-test
     before_install:
       - tool/travis_retry.sh sudo -E apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
-      - tool/travis_retry.sh bash -c "sudo rm -rf '${TRAVIS_ROOT}/var/lib/apt/lists/'* && exec sudo apt-get update -yq"
+      - tool/travis_retry.sh sudo bash -c "rm -rf '${TRAVIS_ROOT}/var/lib/apt/lists/'* && exec apt-get update -yq"
       - |-
         tool/travis_retry.sh sudo -E apt-get $travis_apt_get_options install \
           gcc-8-multilib \
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]