[longomatch/redesign3] Fix env script



commit 7a3b49eca2f1b78776a3946f1160097d3bdfbeac
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sun Aug 21 20:44:57 2011 +0200

    Fix env script

 env.in |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/env.in b/env.in
index 69d7adb..981516a 100755
--- a/env.in
+++ b/env.in
@@ -1,8 +1,11 @@
 #!/bin/bash
 
 build_dir=`cd $(dirname $0) && pwd`
+bin_dir=$build_dir/bin
 
-export PATH=$build_dir/bin:$PATH
-export LD_LIBRARY_PATH=$build_dir/libcesarplayer/.libs${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
+export PATH=$bin_dir:$PATH
+export LD_LIBRARY_PATH=$bin_dir/${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
+
+alias longomatch_dev='LD_PRELOAD=$bin_dir/libcesarplayer.dll.so LongoMatch.exe'
 
 exec "$@"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]