Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
f0d8d3802fe0e0cf6ec296a70d0115a4bf6dcda1
/
.
/
etc
/
scripts
/
find-yarn
blob: fc98b1d8c7ec4c19e29c44308d4feced25e472e5 [
file
] [
log
] [
blame
] [
raw
]
#!/bin/bash
set
-
e
OUT
=
"$1"
YARN
=
$
(
pwd
)/
node_modules
/.
bin
/
yarn
if
[[
!
-
x
"${YARN}"
]];
then
# Ensure any npm output goes to stderr and doesn't affect our
# echo output below
>&
2
npm install yarn
fi
echo $
{
YARN
}
>
$
{
OUT
}