Make scripts more portable

This commit is contained in:
heyarne 2021-04-07 07:18:17 +00:00 committed by Georg Krause
commit 39405bbc3e
7 changed files with 26 additions and 8 deletions

5
front/scripts/utils.sh Normal file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash -S -eux
npm_binaries () {
command -v yarn > /dev/null && yarn bin || npm bin
}