Skip to content

Commit 863e9c0

Browse files
authored
Merge pull request #120 from mackelab/linux-setup.sh
Update setup.sh to use new Makefile
2 parents caba8ba + e1ca413 commit 863e9c0

1 file changed

Lines changed: 2 additions & 18 deletions

File tree

Builds/Linux/setup.sh

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -31,31 +31,15 @@ PROC_DIR=${BUILD_HOME%/*/*}
3131
make -j4
3232

3333
if [ $? -eq 0 ]; then
34-
sudo ln -s -f $BUILD_HOME/build/open-ephys /usr/bin/.
34+
sudo ln -s -f $BUILD_HOME/build/open-ephys.so /usr/bin/open-ephys
3535
echo "-----> GUI compile successful."
3636
else
3737
echo "-----> GUI compile failed."
3838
exit
3939
fi
4040

4141
# Step 2: Compile plugins
42-
PLUGIN_SRC_DIR="${PROC_DIR}/Source/Processors"
43-
PLUGINS=`ls -d ${PLUGIN_SRC_DIR}/*`
44-
45-
cd $PLUGIN_SRC_DIR
46-
for PLUGIN in ${PLUGINS}
47-
do
48-
if [ -f $PLUGIN/Makefile ]; then
49-
cd $PLUGIN
50-
make clean
51-
make
52-
if [ $? -ne 0 ]; then
53-
echo "-----> Plugin compile failed."
54-
exit
55-
fi
56-
cd ..
57-
fi
58-
done
42+
make -j4 -f Makefile.plugins
5943

6044
if [ $? -eq 0 ]; then
6145
echo "-----> Plugin installation sucessful."

0 commit comments

Comments
 (0)