[Pkg-running-devel] [openambit] 43/131: added run script

Christian Perrier bubulle at moszumanska.debian.org
Thu Jul 17 20:19:10 UTC 2014


This is an automated email from the git hooks/post-receive script.

bubulle pushed a commit to branch master
in repository openambit.

commit 1c6e86c2c08c5aa9424df75c1e4cd27f0b4be143
Author: Marco Bernasocchi <marco at opengis.ch>
Date:   Mon Jan 13 13:39:19 2014 +0100

    added run script
---
 build.sh | 6 ------
 run.sh   | 8 ++++++++
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/build.sh b/build.sh
index c9578ed..35592a9 100755
--- a/build.sh
+++ b/build.sh
@@ -17,9 +17,3 @@ mkdir -p openambit-build
 cd openambit-build
 qmake ../src/openambit
 make -j$CORES
-
-cd $SOURCE_LOCATION
-echo "------running openambit------"
-cd openambit-build
-LD_LIBRARY_PATH=../libambit-build ./openambit
-
diff --git a/run.sh b/run.sh
new file mode 100755
index 0000000..7d3ec6c
--- /dev/null
+++ b/run.sh
@@ -0,0 +1,8 @@
+SOURCE_LOCATION="`dirname \"$0\"`"
+SOURCE_LOCATION="`( cd \"$SOURCE_LOCATION\" && pwd )`"
+
+cd $SOURCE_LOCATION
+echo "------running openambit------"
+LD_LIBRARY_PATH=./libambit-build ./openambit-build/openambit
+
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-running/openambit.git



More information about the Pkg-running-devel mailing list