From fb319bbc2ee21166285458b720fac38fcb7bdd32 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Thu, 7 May 2009 15:25:37 +0200 Subject: [PATCH] Fix up 'wordpad' helper When turning a relative path into an absolute one, make sure to use the DOS-style path. Wordpad strangely has no idea what MSys' root is. Signed-off-by: Johannes Schindelin --- bin/wordpad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/wordpad b/bin/wordpad index 1df3fb09..9aba8f96 100644 --- a/bin/wordpad +++ b/bin/wordpad @@ -5,7 +5,7 @@ WORDPAD=$(echo "$PROGRAMFILES/Windows NT"/*/wordpad.exe) test $# = 1 && case "$1" in \\*|/*|?:*) ;; # do nothing -*) set "$(pwd)/$1";; +*) set "$(pwd -W)/$1";; esac test -x "$WORDPAD" && exec "$WORDPAD" "$@" -- 2.11.4.GIT