Skip to content

Commit

Permalink
Adds (uvcdat) at beginning of prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
remram44 committed Jan 22, 2015
1 parent 304f2a8 commit 9956c47
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMake/cdat_modules_extra/setup_runtime.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ library_paths=( @SETUP_LIBRARY_PATHS@ )
python_paths=( @SETUP_PYTHON_PATHS@ )
executable_paths=( @SETUP_EXECUTABLE_PATHS@ )

if [ -z "$UVCDAT_DISABLE_PROMPT" ] ; then
export PS1="(uvcdat)$PS1"
fi

if [ -d '@QT_LIB_DIR@' ] ; then
LD_LIBRARY_PATH='@QT_LIB_DIR@:'"${LD_LIBRARY_PATH}"
fi
Expand All @@ -55,13 +59,15 @@ for d in "${python_paths[@]}" ; do
if [ -d "${f}" ] ; then
PYTHONPATH="${f}:${PYTHONPATH}"
fi
unset f
done

for d in "${executable_paths[@]}" ; do
f="${install_prefix}/${d}"
if [ -d "${f}" ] ; then
PATH="${f}:${PATH}"
fi
unset f
done

if [ -d "${install_prefix}/Externals/lib/R" ] ; then
Expand Down

0 comments on commit 9956c47

Please sign in to comment.