- forgot to update the spnavd_ctl script to use the new pid location, this will

require a new release
- removed unnecessary bits from the makefiles



git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@75 ef983eb1-d774-4af8-acfd-baaf7b16a646
pull/1/head v0.3.2
John Tsiombikas 2009-02-02 02:11:10 +00:00
rodzic 19d6532630
commit 619dfe52a1
3 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -5,7 +5,7 @@ ctl = spnavd_ctl
CC = gcc
INSTALL = install
CFLAGS = -pedantic -Wall $(dbg) $(opt) $(x11)
LDFLAGS = $(xlib) -lm
LDFLAGS = $(xlib)
$(bin): $(obj)
$(CC) -o $@ $(obj) $(LDFLAGS)

Wyświetl plik

@ -998,6 +998,7 @@ char *get_dev_path(void)
if(errno != ENOENT) {
fprintf(stderr, "failed to open %s: %s. this might hinder device detection\n",
path, strerror(errno));
continue;
} else {
break;
}

Wyświetl plik

@ -32,7 +32,7 @@ else
fi
# detect daemon's process id
pid=`cat /tmp/.spnavd.pid 2>/dev/null`
pid=`cat /var/run/spnavd.pid 2>/dev/null`
if [ $? != 0 ]; then
pid=`ps -e | grep spacenavd | awk '{ print $1 }'`
if [ -z "$pid" ]; then