-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add missing set_puregev_gen from ebus_sdk 4.0.8
- Loading branch information
Chao Qu
committed
Aug 19, 2015
1 parent
3ed19c7
commit 5e7c32b
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/bin/sh | ||
|
||
export PUREGEV_ROOT=/opt/pleora/ebus_sdk/Ubuntu-12.04-x86_64 | ||
export GENICAM_ROOT=$PUREGEV_ROOT/lib/genicam | ||
export GENICAM_ROOT_V2_4=$GENICAM_ROOT | ||
export GENICAM_LOG_CONFIG=$GENICAM_ROOT/log/config/DefaultLogging.properties | ||
export GENICAM_LOG_CONFIG_V2_4=$GENICAM_LOG_CONFIG | ||
if [ "$HOME" = "/" ]; then | ||
export GENICAM_CACHE_V2_4=/.config/Pleora/genicam_cache_v2_4 | ||
else | ||
export GENICAM_CACHE_V2_4=$HOME/.config/Pleora/genicam_cache_v2_4 | ||
fi | ||
export GENICAM_CACHE=$GENICAM_CACHE_V2_4 | ||
export GENICAM_LIB_DIR=$GENICAM_ROOT/bin/Linux64_x64 | ||
mkdir -p $GENICAM_CACHE | ||
|
||
if ! echo ${LD_LIBRARY_PATH} | grep -q ${PUREGEV_ROOT}/lib; then | ||
if [ "$LD_LIBRARY_PATH" = "" ]; then | ||
LD_LIBRARY_PATH=${PUREGEV_ROOT}/lib | ||
else | ||
LD_LIBRARY_PATH=${PUREGEV_ROOT}/lib:${LD_LIBRARY_PATH} | ||
fi | ||
fi | ||
|
||
if ! echo ${LD_LIBRARY_PATH} | grep -q ${GENICAM_LIB_DIR}; then | ||
LD_LIBRARY_PATH=${GENICAM_LIB_DIR}:${LD_LIBRARY_PATH} | ||
fi | ||
|
||
export LD_LIBRARY_PATH | ||
|
||
if ! echo ${PATH} | grep -q ${PUREGEV_ROOT}/bin; then | ||
PATH=${PUREGEV_ROOT}/bin:${PATH} | ||
fi | ||
|
||
export PATH | ||
|
||
unset GENICAM_LIB_DIR | ||
|