echo export bb$2_DIR=$installPrefix/lib64/creatools/bb$2 >> $installPrefix/share/creatools_base_library_config.sh
fi
-elif [ -e $installPrefix/lib ]
-then
- # grouik style patch JPR
- if [ $2 = "bbtk" ]
+else
+ if [ -e $installPrefix/lib ]
then
- echo "export BBTK_DIR=$installPrefix/lib/creatools/$2" >> $installPrefix/share/creatools_base_library_config.sh
+ # grouik style patch JPR
+ if [ $2 = "bbtk" ]
+ then
+ echo "export BBTK_DIR=$installPrefix/lib/creatools/$2" >> $installPrefix/share/creatools_base_library_config.sh
+ else
+ echo "export $2_DIR=$installPrefix/lib/creatools/$2" >> $installPrefix/share/creatools_base_library_config.sh
+ echo "export bb$2_DIR=$installPrefix/lib/creatools/bb$2" >> $installPrefix/share/creatools_base_library_config.sh
+ fi
+
else
- echo "export $2_DIR=$installPrefix/lib/creatools/$2" >> $installPrefix/share/creatools_base_library_config.sh
- echo "export bb$2_DIR=$installPrefix/lib/creatools/bb$2" >> $installPrefix/share/creatools_base_library_config.sh
+ echo "============================= NEITHER $installPrefix/lib64 NOR $installPrefix/lib EXIST ?!?"
fi
-
-else
- echo "============================= NEITHER $installPrefix/lib64 NOR $installPrefix/lib EXIST ?!?"
fi
cd ../..
pwd