diff --git a/git-sh-setup.sh b/git-sh-setup.sh
index 8d54b73d3208064829613499580bad541586c725..ae031a1375e9c674d80b9fa3d3d3b76780deaf9f 100644 (file)
--- a/git-sh-setup.sh
+++ b/git-sh-setup.sh
find () {
/usr/bin/find "$@"
}
+ is_absolute_path () {
+ case "$1" in
+ [/\\]* | [A-Za-z]:*)
+ return 0 ;;
+ esac
+ return 1
+ }
;;
+*)
+ is_absolute_path () {
+ case "$1" in
+ /*)
+ return 0 ;;
+ esac
+ return 1
+ }
esac