mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 17:12:55 +00:00
scripts: directly spit-out the date in the WiKi table, misc eye-candy
No need to go through a post-processing just for displaying the date...
This commit is contained in:
parent
7ddb6648e0
commit
eb2a7ba9b0
@ -82,8 +82,8 @@ dump_single_sample() {
|
||||
*) ;;
|
||||
esac
|
||||
printf "| "
|
||||
[ "${CT_EXPERIMENTAL}" = "y" ] && printf "X"
|
||||
[ -f "${sample_top}/samples/${sample}/broken" ] && printf "B"
|
||||
[ "${CT_EXPERIMENTAL}" = "y" ] && printf "**X**"
|
||||
[ -f "${sample_top}/samples/${sample}/broken" ] && printf "**B**"
|
||||
printf " | ''${CT_KERNEL}'' |"
|
||||
if [ "${CT_KERNEL}" != "bare-metal" ];then
|
||||
if [ "${CT_KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR}" = "y" ]; then
|
||||
@ -134,7 +134,7 @@ for sample in "${@}"; do
|
||||
done
|
||||
|
||||
if [ "${opt}" = -w ]; then
|
||||
echo "^ @@DATE@@ |||||||||||||||"
|
||||
printf "^ %s |||||||||||||||\n" "$( date "+%Y%m%d.%H%M %z" )"
|
||||
printf "^ Target "
|
||||
printf "^ Host "
|
||||
printf "^ Status "
|
||||
@ -155,7 +155,7 @@ for sample in "${@}"; do
|
||||
done |LC_ALL=C sort -k2
|
||||
|
||||
if [ "${opt}" = -w ]; then
|
||||
printf "^ Total: ${#@} samples || ''X'': sample uses features marked as being EXPERIMENTAL.\\\\\\\\ ''B'': sample is curently BROKEN. |||||||||||||"
|
||||
printf "^ Total: ${#@} samples || **X**: sample uses features marked as being EXPERIMENTAL.\\\\\\\\ **B**: sample is curently BROKEN. |||||||||||||"
|
||||
echo ""
|
||||
elif [ -z "${opt}" ]; then
|
||||
echo ' l (local) : sample was found in current directory'
|
||||
|
Loading…
x
Reference in New Issue
Block a user