Skip to content
GitLab
Next
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Commits on Source (2)
fix: source import order for asdf, part 2
· fa4b2512
Andrew Newdigate
authored
Jun 22, 2022
fa4b2512
Merge branch 'fix-source-order-part-2' into 'main'
· d27692bb
Andrew Newdigate
authored
Jun 22, 2022
fix: source import order for asdf, part 2 See merge request
!27
d27692bb
Hide whitespace changes
Inline
Side-by-side
scripts/install-asdf-plugins.sh.jinja
View file @
d27692bb
...
...
@@ -5,11 +5,11 @@
set
-euo
pipefail
IFS
=
$'
\n\t
'
plugin_list
=
$(
asdf plugin list
||
echo
""
)
# shellcheck source=/dev/null
source
"
$ASDF_DIR
/asdf.sh"
plugin_list
=
$(
asdf plugin list
||
echo
""
)
install_plugin
()
{
plugin
=
$1
if
!
echo
"
$plugin_list
"
|
grep
-q
"
${
plugin
}
"
>
/dev/null
;
then
...
...