12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- PRO_DIR=`pwd`
- CONFIG_IVSysMan="IVSysMan.xml"
- cd ../../
- lib_name=(
- libmodulecomm.so
- libndt_cpu.so
- # libndt_gpu.so
- libxmlparam.so
- libivfault.so
- libivlog.so
- libivbacktrace.so
- libivexit.so
- )
- for x in ${lib_name[@]}
- do
- # echo "link lib $x"
- # patchelf --set-rpath '$ORIGIN' ./bin/$x
- echo "deploylib $x"
- cp ./bin/${x} ./
- ./deploylib.sh $x
- rm ${x}
- done
- xlib=`ls ./deploy/app/lib/lib*`
- for fileName in $xlib
- do
- patchelf --set-rpath '$ORIGIN' $fileName
- done
-
- #echo "creat IVSysMan.xml"
- #cp ./sh/tju64/xml/$CONFIG_IVSysMan ./deploy/app/IVSysMan.xml
- #cp ./other/ADS_decision.xml ./deploy/app/ADS_decision.xml
- #sed -i "s|xxxxxx|$PRO_DIR/|g" ./deploy/app/IVSysMan.xml
- #cp ./bin/*.so ./deploy/app/lib/
- #cp ./sh/tju64/xml/* ./deploy/app/
- echo ""
- echo "***************"
- echo "*** done! ***"
- echo "***************"
|