summaryrefslogtreecommitdiffstats
path: root/zcmp.in
diff options
context:
space:
mode:
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 "$@"