Преглед на файлове

cd to the directory where the script exists before creating release

Tatsuhiro Tsujikawa преди 13 години
родител
ревизия
46491fc5b7
променени са 2 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 2 0
      android-release
  2. 2 0
      mingw-release

+ 2 - 0
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

+ 2 - 0
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