[neon/qt6/qt6-webengine/Neon/unstable] debian: try to set path in command

Scarlett Moore null at kde.org
Tue Sep 5 14:17:16 BST 2023


Git commit cb6d734b7fc2a5cdd54c96cc5d9f4b3a5b712cc8 by Scarlett Moore.
Committed on 05/09/2023 at 15:16.
Pushed by scarlettmoore into branch 'Neon/unstable'.

try to set path in command

M  +2    -2    debian/rules

https://invent.kde.org/neon/qt6/qt6-webengine/-/commit/cb6d734b7fc2a5cdd54c96cc5d9f4b3a5b712cc8

diff --git a/debian/rules b/debian/rules
index 45ed277..3f3caf1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,9 +45,9 @@ override_dh_auto_clean:
 	cat ~/.profile
 	ls -ls ~/.nvm/
 	# init nvm and thus npm && # install needed nodejs deps with npm
-	export PATH=$(NVM_DIR)/versions/node/v$(NODE_VERSION)/bin:$(PATH)
+
 	echo $(PATH)
-	. ~/.profile && . ~/.nvm/nvm.sh && \
+	. ~/.profile && . PATH=~.nvm/versions/node/v18.5.0/bin ~/.nvm/nvm.sh && \
 	npm install pako && \
 	npm install rollup-plugin-terser && \
 	npm install yargs


More information about the Neon-commits mailing list