From 5fbf834ecbc782d92bea714a0aed6544e237975e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Cs=C3=A1rdi?= Date: Tue, 5 Nov 2024 21:13:23 +0100 Subject: [PATCH] GHA nightly BSD: fix empty globs [ci skip] --- tools/build/docker-deploy/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/build/docker-deploy/Makefile b/tools/build/docker-deploy/Makefile index e05f8acfa..152d6c650 100644 --- a/tools/build/docker-deploy/Makefile +++ b/tools/build/docker-deploy/Makefile @@ -1,5 +1,6 @@ # Deploy all .zip, .tgz, .tar.gz files. Run this in an Alpine Linux # container that has R. E.g. an r-hub/r-minimal container. +SHELL := /bin/bash all: docker-deploy @@ -18,7 +19,7 @@ deploy: R CMD INSTALL . R -q --no-save -e \ 'pak::pkg_install("deps::.", dependencies = "Config/Needs/deploy")' - R -q --no-save -e \ + shopt -s nullglob && R -q --no-save -e \ 'pak:::push_packages(normalizePath(commandArgs(TRUE)))' \ --args *.{tar.gz,tgz,zip}