Fix noxg
authornorly <ny-git@enpas.org>
Wed, 20 Feb 2013 23:46:08 +0000 (23:46 +0000)
committernorly <ny-git@enpas.org>
Wed, 20 Feb 2013 23:46:08 +0000 (23:46 +0000)
Makefile
XGrabControl

index a767fe010fb7bedbb94956b3e6a0be0e363e3898..c09c2ffe46bfa17f6bc9afd3272fa64fdf8b894a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ $(SOFILE): $(SRCFILES) Makefile
 install: all
        cp $(SOFILE) $(DESTDIR)/lib/
        cp XGrabControl $(DESTDIR)/bin/
-       ln -s XGrabControl $(DESTDIR)/bin/noxg
+       ln -sf XGrabControl $(DESTDIR)/bin/noxg
 
 clean:
        rm -f $(SOFILE)
index 57f2c1d25b9823429d08853f3dc27fe3e11d1c02..ddc64b15e0b5e5617fcede193256c5ad17d0d2ec 100755 (executable)
@@ -9,7 +9,7 @@
 # or use it as a program running helper:
 #   XGrabControl program arg1 arg2 ...
 
-MYNAME="${0#*/}"
+MYNAME="XGrabControl"
 SONAME=libXGrabControl.so
 
 
@@ -44,4 +44,3 @@ if [ $# -gt 0 ]
 then
   exec "$@"
 fi
-