From 7ee44dd2a097b0cb31323a3dea95a629fa27c52e Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Mon, 16 Mar 2009 23:12:08 +0100 Subject: [PATCH] Add a convenience script 'wordpad' On standard installations, the program 'wordpad' is hard to find. Add a convenience script which finds it in all instances yours truly could test. The program is important for msysGit, as we do not have any free RTF editor readily available for editing msysGit's release notes. Signed-off-by: Johannes Schindelin --- bin/wordpad | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 bin/wordpad diff --git a/bin/wordpad b/bin/wordpad new file mode 100644 index 0000000000..bdf0ac9ffb --- /dev/null +++ b/bin/wordpad @@ -0,0 +1,8 @@ +#!/bin/sh + +WORDPAD=$(echo "$PROGRAMFILES/Windows NT"/*/wordpad.exe) + +test -x "$WORDPAD" && exec "$WORDPAD" "$@" + +echo "Could not launch $WORDPAD" +exit 1 -- 2.11.4.GIT