summaryrefslogtreecommitdiff
path: root/mingw-release
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-09-02 18:56:31 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-09-02 18:56:31 +0900
commit46491fc5b7a4ce4244af9d78f1648afe51b8286c (patch)
treeccf9648f32efd667a7a4bd34b77b49283b52731c /mingw-release
parent887ac19a342990bd00d60d10f45bb215859b4ef3 (diff)
cd to the directory where the script exists before creating release
Diffstat (limited to 'mingw-release')
-rwxr-xr-xmingw-release2
1 files changed, 2 insertions, 0 deletions
diff --git a/mingw-release b/mingw-release
index 90cefc6d..59f1a024 100755
--- a/mingw-release
+++ b/mingw-release
@@ -35,6 +35,8 @@ test -z "$HOST" && HOST=i686-w64-mingw32
test -z "$BUILD_VER" && BUILD_VER=1
test -z "$LABEL" && LABEL=$HOST
+# cd to the directory where this script exists.
+cd $(dirname $0)
. ./script-helper
get_version