Small fix to make-publish.sh
diff --git a/modules/orionode/build/make-publish.sh b/modules/orionode/build/make-publish.sh
index d55974a..245ec15 100755
--- a/modules/orionode/build/make-publish.sh
+++ b/modules/orionode/build/make-publish.sh
@@ -57,7 +57,7 @@
 # But we need .gitignore, it's important for npm, so copy it over.
 cp "$REPO"/modules/orionode/.gitignore $STAGING
 # Add an additional line to prevent npm from publishing the releng folder
-echo lib/orion.client/releng/ >> "$STAGING"/modules/orionode/.gitignore
+echo lib/orion.client/releng/ >> "$STAGING"/.gitignore
 
 # unnecessary: these are ignored via .gitignore
 # delete .workspace/
@@ -77,6 +77,12 @@
 mkdir "$STAGING"/lib/orion.client/releng
 cp -r "$REPO"/releng/org.eclipse.orion.client.releng "$STAGING"/lib/orion.client/releng
 
+# install orion node dependencies, required for minification if they haven't been installed yet
+echo Installing Orion node modules...
+pushd ${STAGING}
+npm install
+popd
+
 # Minify the client-side code
 NODE="`which node`"
 if [ ! -f "$NODE" ] ; then