Permalink
Browse files

GPII-91: updating build script to run 'npm install' in addition to cl…

…oning universal.
  • Loading branch information...
1 parent 2994d20 commit 560b1e79a8e4a9867941e70592361af0a9426587 @yzen yzen committed Mar 6, 2013
Showing with 6 additions and 1 deletion.
  1. +6 −1 build.sh
View
@@ -10,9 +10,10 @@
# You may obtain a copy of the License at
# https://github.com/gpii/universal/LICENSE.txt
+currentDirName=${PWD##*/}
node_modules="../node_modules"
universal="../node_modules/universal"
-repoURL="git://github.com/GPII/universal.git"
+repoURL="git://github.com/GPII/universal.git"
usbListenerDir="./usbDriveListener"
gpiiInstallDir="/usr/local/gpii"
gpiiStateDir="/var/lib/gpii"
@@ -32,6 +33,10 @@ else
echo "$universal does not exist"
echo "cloning universal"
git clone "$repoURL" "$universal"
+ cd $universal
+ npm install
+ cd ../../
+ cd $currentDirName
fi
# Compile the GSettings C++ Bridge

0 comments on commit 560b1e7

Please sign in to comment.