summaryrefslogtreecommitdiff
path: root/build-os
diff options
context:
space:
mode:
Diffstat (limited to 'build-os')
-rwxr-xr-xbuild-os6
1 files changed, 5 insertions, 1 deletions
diff --git a/build-os b/build-os
index 17f41bb..01cfaee 100755
--- a/build-os
+++ b/build-os
@@ -22,7 +22,7 @@ function on_exit(){
}
trap on_exit EXIT
-root="${roots:?}"/"$version"
+root="${roots:?}"/"${branch:?}"/"$version"
mkdir -p "$root"
@@ -42,6 +42,10 @@ export osversion
export osdesc
export branch
export remote
+export build
+export buildenv
+export arch
+
run-parts --exit-on-error -- hooks/build-os