Merge branch 'feature/convert-slashes' into develop
diff --git a/Changes.mdown b/Changes.mdown
index 71c4945..4e39369 100644
--- a/Changes.mdown
+++ b/Changes.mdown
@@ -10,6 +10,8 @@
* Various minor bug fixes related to internal argument passing
+* Better support for Windows users.
+
* Add package installers for the Debian and Windows platforms.
0.4.1:
diff --git a/git-flow b/git-flow
index 97b1b34..a03ba1f 100755
--- a/git-flow
+++ b/git-flow
@@ -42,7 +42,9 @@
set -x
fi
-export GITFLOW_DIR=$(dirname "$0")
+# The sed expression here replaces all backslashes by forward slashes.
+# This helps our Windows users, while not bothering our Unix users.
+export GITFLOW_DIR=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
usage() {
echo "usage: git flow <subcommand>"