Fix scope error with newer GCC.
[spiralsynthmodular.git] / test-run
blob6a403897cfe0c23fd52594e35039e4228ea4c01a
1 #!/bin/bash
3 if [ $# -gt 0 ] ; then
4 if ! [ -e links/$1.so ] ; then
5 echo Creating link for $1
6 ln -s ../SpiralSound/Plugins/$1/$1.so links/$1.so
7 fi
8 else
9 if ! [ -d links ] ; then
10 if [ -e links ] ; then
11 echo A file \"links\" alredy exists, can\'t create the directory
12 exit
14 mkdir links
16 xargs -n 1 $0 < SpiralSound/PluginList.txt
18 ./spiralsynthmodular --PluginPath `pwd`/links/