#!/bin/echo "This file is sourced, not run" # This is the top level include file sourced by each build stage. # Guard against multiple inclusion if ! already_included_this !2 >/dev/null { alias already_included_this=true # Set up all the environment variables and functions for a build stage. source config source sources/utility_functions.sh source sources/functions.sh source sources/download_functions.sh source sources/variables.sh # Create files with known permissions umask 022 # Tell bash not to cache the $PATH because we modify it. (Without this, bash # won't find new executables added after startup.) set +h # Disable internationalization so sort and sed and such can cope with ASCII. export LC_ALL=C } # already_included_this (CommandList children: [ (If arms: [ (if_arm cond: [ (Pipeline children: [ (SimpleCommand words: [{(already_included_this)}] redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[18])] ) ] negated: True ) ] action: [ (C {(alias)} {(Lit_VarLike "already_included_this=") (true)}) (C {(source)} {(config)}) (C {(source)} {(sources/utility_functions.sh)}) (C {(source)} {(sources/functions.sh)}) (C {(source)} {(sources/download_functions.sh)}) (C {(source)} {(sources/variables.sh)}) (C {(umask)} {(022)}) (C {(set)} {(Lit_Other "+") (h)}) (C {(export)} {(Lit_VarLike "LC_ALL=") (C)}) ] spids: [-1 21] ) ] spids: [-1 84] ) ] )