sh installmod.sh $buildType $crearigidregistrationssource $generationdir
sh installmod.sh $buildType $bbtkgeditorsource $generationdir
sh installmod.sh $buildType $creatoolssource $generationdir
+
touch $installPrefix/share/creatools_base_library_config.sh
rm $installPrefix/share/creatools_base_library_config.sh
touch $installPrefix/share/creatools_base_library_config.sh
chmod 755 $installPrefix/share/creatools_base_library_config.sh
+
echo export PATH='$'PATH:$installPrefix/bin >> $installPrefix/share/creatools_base_library_config.sh
echo export LD_LIBRARY_PATH='$'LD_LIBRARY_PATH:$installPrefix/lib/creatools >> $installPrefix/share/creatools_base_library_config.sh
echo export LD_LIBRARY_PATH='$'LD_LIBRARY_PATH:$installPrefix/lib64/creatools >> $installPrefix/share/creatools_base_library_config.sh
- # modify .bashrc
- # - remove line 'sh $installPrefix/creatools_install/share/creatools_base_party_libraries_config.sh' if any (with accurate value for ???)
- sed -i -e '/.*creatools_base_library_config.*/ d' /etc/bashrc
- # - add line 'sh $installPrefix/creatools_install/share/creatools_base_libraries_config.sh' (with accurate value for ???)
+
+
+ # - remove line 'sh $installPrefix/creatools_install/share/creatools_base_libraries_config.sh' if any
+ sed -i -e '/.*creatools_base_library_config.*/ d' /etc/bashrc
+ # modify /etc/bashrc (we cannot modify .bashrc, since we witched as root)
+ # - add line 'sh $installPrefix/creatools_install/share/creatools_base_libraries_config.sh'
echo source $installPrefix/share/creatools_base_library_config.sh >> /etc/bashrc
else
echo