We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fc4875 commit 5beb081Copy full SHA for 5beb081
_ul.sh
@@ -28,7 +28,8 @@ cat "${_URLS}"
28
29
# Strip '-built-on-*' suffix for the single-file artifact.
30
find . -maxdepth 1 -type f -name "*-*-${_PKGOS}*.*" | sort | while read -r f; do
31
- new="${f//-built-on-[^.]*/}"
+ # shellcheck disable=SC2001
32
+ new="$(echo "${f}" | sed 's/-built-on-[^.]*//g')"
33
[ "${f}" = "${new}" ] || mv -f "${f}" "${new}"
34
done
35
0 commit comments