From fe0bf0f19e128a24c91e9e37d3b69e5b00298214 Mon Sep 17 00:00:00 2001 From: ptaylor Date: Mon, 20 May 2024 16:56:35 -0700 Subject: [PATCH] don't globstar --- .github/workflows/main.pr.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/main.pr.yml b/.github/workflows/main.pr.yml index 3bde2bb2..2abcea73 100644 --- a/.github/workflows/main.pr.yml +++ b/.github/workflows/main.pr.yml @@ -138,9 +138,7 @@ jobs: # Install the package into a temp dir _tmp="$(mktemp -d)"; mkdir -p "${_tmp}/node_modules/${pkg_name}"; - shopt -s globstar; - cp -ar "${targetdir}"/**/* "${_tmp}/node_modules/${pkg_name}/"; - shopt -u globstar; + cp -ar "${targetdir}"/* "${_tmp}/node_modules/${pkg_name}/"; cd "${_tmp}/node_modules/${pkg_name}"; npm i; cd "${_tmp}/";