summaryrefslogtreecommitdiffstats
path: root/zcmp.in
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 16:11:02 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 16:11:02 +0000
commit4e47773f0570bdffefd062b85265242f9f13ef96 (patch)
tree815a38d504a9005ddd7f548c0067a43172f05a02 /zcmp.in
parentAdding upstream version 0.3. (diff)
downloadzutils-4e47773f0570bdffefd062b85265242f9f13ef96.tar.xz
zutils-4e47773f0570bdffefd062b85265242f9f13ef96.zip
Adding upstream version 0.4.upstream/0.4
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'zcmp.in')
-rw-r--r--zcmp.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/zcmp.in b/zcmp.in
index 7470da9..d2ad056 100644
--- a/zcmp.in
+++ b/zcmp.in
@@ -1,2 +1,3 @@
#! /bin/sh
-exec zdiff --cmp "$@"
+bindir=`echo "$0" | sed -e 's,[^/]*$,,'`
+exec "${bindir}"zdiff --cmp "$@"