1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-18 17:27:20 +01:00
fwbuilder/test/ipt/do-diff
2008-04-26 19:13:45 +00:00

16 lines
223 B
Bash
Executable File

#!/bin/sh
N=$1
if which opendiff > /dev/null 2>&1; then
TOOL="opendiff"
elif which tkdiff > /dev/null 2>&1; then
TOOL="tkdiff -b -B "
else
TOOL="diff -U 8 -b -B "
fi
${TOOL} firewall${N}.fw.orig firewall${N}.fw