diff --git a/builder.sh b/builder.sh index 43d84c0eced4da8da583ecc0de8448d5ad16a9c8..f5d81499a5690d62d49f35eb5819b278b0fe46fa 100755 --- a/builder.sh +++ b/builder.sh @@ -87,6 +87,15 @@ function print_info () { } print_info +# prepare site +if [[ "$BRANCH" == *"stable" ]]; then + echo Building for stable. Removing stuff from site.conf + sed '/REMOVE_FOR_STABLE/d' site/site.template > site/site.conf +else + echo "Not building for stable. Leaving site.conf as-is" + cp site/site.template site/site.conf +fi + # update toolchain to current release make update