Overview
Comment: | replace `.` with `source` in shell scripts for compatibility; change `sh` shebangs to use bash instead |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
34059b4bf6223b386ae36e2f6a4f19c3 |
User & Date: | lexi on 2019-08-21 23:35:09 |
Other Links: | manifest | tags |
Context
2019-08-22
| ||
00:03 | insert explicit cast to hopefully silence compiler warnings on some systems check-in: 7c202a8b17 user: lexi tags: trunk | |
2019-08-21
| ||
23:35 | replace `.` with `source` in shell scripts for compatibility; change `sh` shebangs to use bash instead check-in: 34059b4bf6 user: lexi tags: trunk | |
06:43 | create dist folder for OS-specific supporting build files check-in: 49b6e9c7f6 user: lexi tags: trunk | |
Changes
Modified build.sh from [9bf8bf8013] to [e2a59a38b7].
1 1 #!/usr/bin/env bash 2 2 export to=${to:-out} 3 -. global/common.sh 3 +source global/common.sh 4 4 5 5 if test "$os$arch$bits" = ""; then 6 6 say "set the following environment variables to the appropriate atoms describing your system. for help determining the appropriate atoms, see libk.md" 7 7 say ' - $os={lin|fbsd|hai|osx…}' 8 8 say ' - $arch={x86|arm|ia64|mips…}' 9 9 say ' - $bits={|32|64…}' 10 10 exit 1
Modified clean.sh from [da20a1a7ee] to [92c5183668].
1 1 #!/usr/bin/env bash 2 2 to=${to:-out} 3 3 gen=${gen:-gen} 4 -. global/common.sh 4 +source global/common.sh 5 5 6 6 say "cleaning libk build artifacts" 7 7 8 8 report rm -r $to 9 9 report rm -r $gen
Modified global/build-id.sh from [a95857b352] to [45c1076b3a].
1 -#!/usr/bin/env sh 2 -. global/common.sh 1 +#!/usr/bin/env bash 2 +source global/common.sh 3 3 4 4 origin=1566169297 5 5 now=$(date +%s) 6 6 delta=$(expr $now - $origin) 7 7 8 8 9 9 if test "$id_mode" = "private"; then
Modified global/build-manpage.sh from [ea0b6d880a] to [d03c3443d7].
1 -#!/usr/bin/env sh 1 +#!/usr/bin/env bash 2 2 (test -d global && test -f build.sh) || { 3 3 echo >&2 "($0) run [1m$me[21m from root of [1mlibk[21m source directory" 4 4 exit 1 5 5 } 6 6 7 -. global/common.sh 7 +source global/common.sh 8 8 reqpack cmark "generate documentation" 9 9 check gen "a directory for generated build dependencies" 10 10 11 11 file="$1" 12 12 filename="$(basename "$file")" 13 13 stem=${filename%%.md} 14 14
Modified install.sh from [3dc81017e7] to [b7dc8d033f].
1 1 #!/usr/bin/env bash 2 -. global/common.sh 2 +source global/common.sh 3 3 4 4 say "this component of the build system does not yet exist"