aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-09-03 14:32:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-09-03 14:32:16 +0200
commit8622308eefe9a1d63bb4128548260d0ba3d50d7a (patch)
treee998828dce38b63dd1435b2ee1e78cf8e74c1a6c /build.sh
parent1a8cc5a63d495da8d9fbddec28aded237942e5ef (diff)
Simplify stage command line by using relative data_dir in build scripts
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/build.sh b/build.sh
index 080f9cd..c8cf2cc 100755
--- a/build.sh
+++ b/build.sh
@@ -118,8 +118,6 @@ fi
PATH="$idir/bin:$PATH"
export PATH
-sdir="$idir/stage"
-
# Bootstrap, stage 1.
#
run cd build2
@@ -141,8 +139,8 @@ config.cxx="$cxx" \
config.bin.lib=shared \
config.bin.suffix=-stage \
config.bin.rpath="$idir/lib" \
-config.install.data_root="$sdir" \
-config.install.exec_root="$idir" \
+config.install.root="$idir" \
+config.install.data_root=root/stage \
config.install.sudo="$sudo"
run build2/build2/b-boot install