diff unixSoft/bin/opendiff-w @ 260:26f9c18b588c

opendiff-w: safer sanity check for opendiff
author Augie Fackler <durin42@gmail.com>
date Mon, 16 Aug 2010 11:16:44 -0500
parents 88ba320ffe7d
children
line wrap: on
line diff
--- a/unixSoft/bin/opendiff-w
+++ b/unixSoft/bin/opendiff-w
@@ -1,2 +1,3 @@
 #!/bin/sh
-opendiff "$@" | cat || exit 1
+which opendiff || exit 1
+opendiff "$@" | cat