view easyhg-extdiff-osx.sh @ 236:960b782f0a64

* minor os/x fixes
author Chris Cannam
date Sun, 09 Jan 2011 10:08:42 +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