Index: build.sh ================================================================== --- build.sh +++ build.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash export to=${to:-out} -. global/common.sh +source global/common.sh if test "$os$arch$bits" = ""; then say "set the following environment variables to the appropriate atoms describing your system. for help determining the appropriate atoms, see libk.md" say ' - $os={lin|fbsd|hai|osx…}' say ' - $arch={x86|arm|ia64|mips…}' Index: clean.sh ================================================================== --- clean.sh +++ clean.sh @@ -1,9 +1,9 @@ #!/usr/bin/env bash to=${to:-out} gen=${gen:-gen} -. global/common.sh +source global/common.sh say "cleaning libk build artifacts" report rm -r $to report rm -r $gen Index: global/build-id.sh ================================================================== --- global/build-id.sh +++ global/build-id.sh @@ -1,7 +1,7 @@ -#!/usr/bin/env sh -. global/common.sh +#!/usr/bin/env bash +source global/common.sh origin=1566169297 now=$(date +%s) delta=$(expr $now - $origin) Index: global/build-manpage.sh ================================================================== --- global/build-manpage.sh +++ global/build-manpage.sh @@ -1,12 +1,12 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash (test -d global && test -f build.sh) || { echo >&2 "($0) run $me from root of libk source directory" exit 1 } -. global/common.sh +source global/common.sh reqpack cmark "generate documentation" check gen "a directory for generated build dependencies" file="$1" filename="$(basename "$file")" Index: install.sh ================================================================== --- install.sh +++ install.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash -. global/common.sh +source global/common.sh say "this component of the build system does not yet exist"