hkstreamer/install.sh

9 lines
314 B
Bash
Raw Permalink Normal View History

2023-04-06 10:38:09 +08:00
#!/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"