blob: 49293056db73ce96b606fc6d2cdab0fc9595f8c7 [file] [log] [blame] [raw]
#!/bin/sh
set -e
OUT="$1"
YARN=$(pwd)/node_modules/.bin/yarn
if test ! -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}