summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rwxr-xr-xXGrabControl3
2 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a767fe0..c09c2ff 100644
--- 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)
diff --git a/XGrabControl b/XGrabControl
index 57f2c1d..ddc64b1 100755
--- a/XGrabControl
+++ b/XGrabControl
@@ -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
-