add install script
This commit is contained in:
parent
7624478411
commit
9bc80a6239
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
InstallDir=$(cd `dirname $0`; pwd)
|
||||
ProfileFile=~/.profile
|
||||
|
||||
echo "export LD_LIBRARY_PATH=$InstallDir/lib:$InstallDir/lib/HCNetSDKCom:\$LD_LIBRARY_PATH">>$ProfileFile
|
||||
echo "export PATH=\$PATH:$InstallDir">>$ProfileFile
|
||||
source $ProfileFile
|
||||
echo "Install complete"
|
||||
echo "Remeber to run source $ProfileFile"
|
Loading…
Reference in New Issue