fix: source init-nvm.sh

master
Jef Roosens 2022-05-12 08:59:12 +02:00
parent 6a978615a4
commit 455b53266e
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,9 @@ pkgver() {
} }
prepare() { prepare() {
# This PKGBUILD is meant to run in a build container, so we can do this
# every time.
source /usr/share/nvm/init-nvm.sh
cd "${srcdir}/${pkgname%-git}" || exit cd "${srcdir}/${pkgname%-git}" || exit
# use correct nodejs/npm versions # use correct nodejs/npm versions