view easyhg-extdiff-osx.sh @ 256:f649f6066e4d

* OS/X deployment fixes
author Chris Cannam
date Wed, 12 Jan 2011 15:02:11 +0000
parents 43ecb0dcc44e
children
line wrap: on
line source
#!/bin/bash
if [ $# -lt 2 ]; then 
    echo Insufficient arguments: $@
    exit 2
fi
while [ $# -gt 2 ]; do
    shift
done
/usr/bin/opendiff "$1" "$2" | cat