diff options
author | jingui.ren <jingui.ren@samsung.com> | 2018-06-12 19:51:01 +0800 |
---|---|---|
committer | jingui.ren <jingui.ren@samsung.com> | 2018-08-02 16:41:08 +0800 |
commit | 3428d40e046da24d4d9bd3091ba0d130c8ec6fb4 (patch) | |
tree | 0215b886caf625503249900249f42f37082bb139 | |
parent | 27dafb48092b667cca652c3619302ac34b0327b5 (diff) | |
download | build-3428d40e046da24d4d9bd3091ba0d130c8ec6fb4.tar.gz build-3428d40e046da24d4d9bd3091ba0d130c8ec6fb4.tar.bz2 build-3428d40e046da24d4d9bd3091ba0d130c8ec6fb4.zip |
fix BUILD_ROOT variable read error
Change-Id: Icf7eab6730a5523d98e0eee20dc466191f92a271
-rwxr-xr-x | build | 2 | ||||
-rw-r--r-- | build-pkg-arch | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -441,7 +441,7 @@ setupccache() { echo 'export PATH=/usr/lib/icecc/bin:/opt/icecream/bin:/usr/bin:$PATH' >> "$BUILD_ROOT"/var/lib/build/ccache/bin/$i echo "ccache $i \"\$@\"" >> "$BUILD_ROOT"/var/lib/build/ccache/bin/$i chmod 755 "$BUILD_ROOT"/var/lib/build/ccache/bin/$i - echo "Installed ccache wrapper as '$BUILD_ROOT'/var/lib/build/ccache/bin/$i" + echo "Installed ccache wrapper as $BUILD_ROOT/var/lib/build/ccache/bin/$i" done fi mkdir -p "$BUILD_ROOT/.ccache" diff --git a/build-pkg-arch b/build-pkg-arch index be5dac5..3328700 100644 --- a/build-pkg-arch +++ b/build-pkg-arch @@ -68,7 +68,7 @@ pkg_preinstall_arch() { } pkg_runscripts_arch() { - if test -e "'$BUILD_ROOT'/.init_b_cache/scripts/$PKG.post" ; then + if test -e "$BUILD_ROOT/.init_b_cache/scripts/$PKG.post" ; then echo "running $PKG postinstall script" ( cd "$BUILD_ROOT" && chroot "$BUILD_ROOT" ".init_b_cache/scripts/$PKG.post" < /dev/null ) rm -f "$BUILD_ROOT/.init_b_cache/scripts/$PKG.post" |