• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2# cmp(1) creates the same exit code as diff in case of files being
3# different or the same, even though the diff(1) output is more
4# informative.
5
6if test "x$DIFF_U" != x && test "x$DIFF_U" != xno
7then
8    comparetool="$DIFF_U"
9elif test "x$DIFF" != x && test "x$DIFF" != xno
10then
11    comparetool="$DIFF"
12else
13    comparetool=cmp
14fi
15