diff --git a/anda/apps/goofcord/stable/goofcord.spec b/anda/apps/goofcord/stable/goofcord.spec index 16c1decf4d..df40c9d47e 100644 --- a/anda/apps/goofcord/stable/goofcord.spec +++ b/anda/apps/goofcord/stable/goofcord.spec @@ -40,8 +40,8 @@ A highly configurable and privacy minded Discord client. %if %{with vendored_nodejs} touch ~/.bash_profile NVM_DIR="%{rpmbuilddir}/.nvm" curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash -. "%{rpmbuilddir}/.nvm/nvm.sh" -. "%{rpmbuilddir}/.nvm/bash_completion" +. "$NVM_DIR/.nvm/nvm.sh" +. "$NVM_DIR/bash_completion" nvm install 24 %endif