Browse Source

x230: support running scripts from anywhere

change to working dir for the scripts that use util/.
pull/102/head
Martin Kepplinger 5 years ago
parent
commit
9a99381e3e
3 changed files with 6 additions and 0 deletions
  1. +2
    -0
      x230/external_install_bottom.sh
  2. +2
    -0
      x230/x230_heads.sh
  3. +2
    -0
      x230/x230_skulls.sh

+ 2
- 0
x230/external_install_bottom.sh View File

@ -7,6 +7,8 @@ NC='\033[0m'
set -e set -e
cd "$(dirname "$0")"
IFDTOOL_PATH=./util/ifdtool/ifdtool IFDTOOL_PATH=./util/ifdtool/ifdtool
ME_CLEANER_PATH=./util/me_cleaner/me_cleaner.py ME_CLEANER_PATH=./util/me_cleaner/me_cleaner.py
have_chipname=0 have_chipname=0


+ 2
- 0
x230/x230_heads.sh View File

@ -4,6 +4,8 @@
set -e set -e
cd "$(dirname "$0")"
source "util/functions.sh" source "util/functions.sh"
have_input_image=0 have_input_image=0


+ 2
- 0
x230/x230_skulls.sh View File

@ -4,6 +4,8 @@
set -e set -e
cd "$(dirname "$0")"
source "util/functions.sh" source "util/functions.sh"
have_input_image=0 have_input_image=0


Loading…
Cancel
Save