3 echo "------------------------------------------------"
4 echo "Dynamic library selection for launcher procedure"
5 echo "------------------------------------------------"
8 rm -f libanna_dynamicLauncherProcedure.so
11 echo " (you could provide directly the path to the .so file)"
13 echo "Available options:"
15 find . -name "*.so" > $tmpfile
17 for line in $(cat $tmpfile); do echo " $line" ; done
18 dflt=$(grep "^./default/" $tmpfile)
20 echo -n "Paste your selection [$dflt]: "
22 [ -z "$option" ] && option=$dflt
26 [ ! -f $option ] && { echo -e "\nInvalid file !\n" ; exit 1 ; }
27 ln -sf $option libanna_dynamicLauncherProcedure.so
29 echo "Library enabled"