Index: build/linux/sysroot_scripts/sysroot-creator-jessie.sh |
diff --git a/build/linux/sysroot_scripts/sysroot-creator-jessie.sh b/build/linux/sysroot_scripts/sysroot-creator-jessie.sh |
index 161744251a406579507a91091c90005229a4ea04..801ddf6638922c2b05340bd91c7cbf6d08e4f337 100755 |
--- a/build/linux/sysroot_scripts/sysroot-creator-jessie.sh |
+++ b/build/linux/sysroot_scripts/sysroot-creator-jessie.sh |
@@ -3,7 +3,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-SCRIPT_DIR=$(cd $(dirname $0) && pwd) |
+SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
DISTRO=debian |
DIST=jessie |
@@ -16,7 +16,7 @@ APT_REPO=http://http.us.debian.org/debian |
# export KEYS="518E17E1 46925553 2B90D010" |
# gpg --recv-keys $KEYS |
# gpg --output ./debian-archive-jessie-stable.gpg --export $KEYS |
-KEYRING_FILE=${SCRIPT_DIR}/debian-archive-jessie-stable.gpg |
+KEYRING_FILE="${SCRIPT_DIR}/debian-archive-jessie-stable.gpg" |
HAS_ARCH_AMD64=1 |
HAS_ARCH_I386=1 |
@@ -253,4 +253,4 @@ DEBIAN_PACKAGES_ARM64=" |
libthai0 |
" |
-. ${SCRIPT_DIR}/sysroot-creator.sh |
+. "${SCRIPT_DIR}/sysroot-creator.sh" |