Mercurial > hg > easyhg
view easyhg-extdiff-osx.sh @ 213:90e70a9024f3
* Make findInPath return empty string if not found -- previous hopelessly fragile behaviour failed in situations where it was called with an absolute path
author | Chris Cannam |
---|---|
date | Wed, 05 Jan 2011 16:08:37 +0000 |
parents | c5fceb3fe5b4 |
children | 43ecb0dcc44e |
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"