dependency checks on 2.2

master
phanes 2023-02-18 22:19:08 -05:00
parent a64a366e80
commit d0eee09fdc
3 changed files with 16 additions and 4 deletions

View File

@ -13,8 +13,10 @@ else
# these need run in the following order: # these need run in the following order:
clean: clean:
${dir_make}/clean.sh sudo /usr/bin/env -i bash -c ". ./project_config.sh && ${dir_make}/clean.sh"
purge_artifacts:
${dir_make}/purge_artifacts.sh
dirs: dirs:
${dir_make}/dirs.sh ${dir_make}/dirs.sh

View File

@ -1,10 +1,8 @@
function echofail() { function echofail() {
echo $1 echo $1
exit 1 exit 1
} }
function mkfaildir() { function mkfaildir() {
echo "Creating directory '$1'." echo "Creating directory '$1'."
mkdir -p $1 || echofail "Failed to create '$1' directory." mkdir -p $1 || echofail "Failed to create '$1' directory."

View File

@ -1,2 +1,14 @@
TERM=xterm set -a
TERM=xterm-256color
COLORTERM=truecolor
PATH=
LANG=C
PATH=/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin
function echofail() {
echo
echo "FAILED: $1"
echo
exit 1
}