From 8d2c1bcdf2f1e090091fa360f666d0a9833d5f42 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Sat, 13 Mar 2021 11:17:36 -0800 Subject: [PATCH] Fix cran_repo grep pipeline --- docker/runtime/install.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/runtime/install.bash b/docker/runtime/install.bash index d794ff4..6678adb 100755 --- a/docker/runtime/install.bash +++ b/docker/runtime/install.bash @@ -29,7 +29,7 @@ update-ca-certificates ubuntu_ver="$(lsb_release -rs)" ubuntu_name="$(lsb_release -cs)" -cran_repo="$(curl -fsSL https://cran.r-project.org/bin/linux/ubuntu/ | grep '' | grep "${ubuntu_name}" | grep -Eo 'cran[0-9]+' | head -n1)" +cran_repo="$(curl -fsSL https://cran.r-project.org/bin/linux/ubuntu/ | grep -Eo 'cran[0-9]+' | head -n1)" node_repo="$(curl -fsSL https://deb.nodesource.com/setup_current.x | grep NODEREPO= | grep -Eo 'node_[0-9]+\.x' | head -n1)" # .NET