Commit b029c8c0 authored by Axel Auweter's avatar Axel Auweter
Browse files

Fixes for MacOS.

parent 11c3ac0e
......@@ -11,7 +11,7 @@ install:
chmod +x $(DCDBDEPLOYPATH)/etc/init.d/dcdb
# Install dcdbplot
install --mode=755 dcdbplot $(DCDBDEPLOYPATH)/bin/dcdbplot
install -m 755 dcdbplot $(DCDBDEPLOYPATH)/bin/dcdbplot
# Install dcdb.bash
sed -e 's|%DCDB_PREFIX%|'$(DCDBDEPLOYPATH)'|g' dcdb.bash > $(DCDBDEPLOYPATH)/dcdb.bash
DCDB_PREFIX=%DCDB_PREFIX%
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${DCDB_PREFIX}/lib/
UN=$(uname)
if [ "${UN}" = "Darwin" ]; then
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:${DCDB_PREFIX}/lib/
else
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${DCDB_PREFIX}/lib/
fi
export PATH=$PATH:${DCDB_PREFIX}/bin/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment