From 46491fc5b7a4ce4244af9d78f1648afe51b8286c Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 2 Sep 2012 18:56:31 +0900 Subject: [PATCH] cd to the directory where the script exists before creating release --- android-release | 2 ++ mingw-release | 2 ++ 2 files changed, 4 insertions(+) diff --git a/android-release b/android-release index aa0aa856..1af9dc59 100755 --- a/android-release +++ b/android-release @@ -38,6 +38,8 @@ fi TOOLCHAIN=$ANDROID_HOME/toolchain PATH=$TOOLCHAIN/bin:$PATH +# cd to the directory where this script exists. +cd $(dirname $0) . ./script-helper get_version 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