summaryrefslogtreecommitdiff
path: root/install_debug.sh
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-03-15 15:43:17 +0100
committerSander Vrijders <[email protected]>2016-03-15 15:43:17 +0100
commitbd7a8ea8a1adbd6763aea857e72623929b7ad7a4 (patch)
tree168c30a3090d14c654967d0942b4718cd4a979a9 /install_debug.sh
parent74dc5818ac8586fcc36915874592c9f4fbb4e6f6 (diff)
downloadouroboros-bd7a8ea8a1adbd6763aea857e72623929b7ad7a4.tar.gz
ouroboros-bd7a8ea8a1adbd6763aea857e72623929b7ad7a4.zip
irmd, lib: Create and destroy IPC Processes
This adds the functionality to create and destroy IPCPs. Upon creation a new process is forked and execve'd. Upon destruction the IPCP is destroyed by killing it with SIGTERM.
Diffstat (limited to 'install_debug.sh')
-rwxr-xr-xinstall_debug.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/install_debug.sh b/install_debug.sh
new file mode 100755
index 00000000..ef6b8a30
--- /dev/null
+++ b/install_debug.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+ME=install_debug
+
+if (($# == 1 ))
+then
+ PREFIX=`echo "$1"|sed -e "s,\/$,,"`
+else
+ PREFIX="/usr/local/ouroboros"
+fi
+
+BUILDDIR=build
+DEBUGDIR=debug
+
+bash compile_debug.sh $PREFIX
+
+cd $BUILDDIR/$DEBUGDIR
+make install