build/info: zap useless feature
This commit is contained in:
parent
94acdfd303
commit
6c3af6aed8
|
@ -370,10 +370,10 @@ Should it not fit your needs, you can change the name using:
|
||||||
The available targets are: base, distfiles, dvd, kernel, nano,
|
The available targets are: base, distfiles, dvd, kernel, nano,
|
||||||
packages, serial, vga and vm.
|
packages, serial, vga and vm.
|
||||||
|
|
||||||
The current state or a tagged state of required build repositories
|
The current state of the associated build repositories checked
|
||||||
on the system can be printed using:
|
out on the system can be printed using:
|
||||||
|
|
||||||
# make info[-<version>]
|
# make info
|
||||||
|
|
||||||
Last but not least, in case build variables needs to be inspected,
|
Last but not least, in case build variables needs to be inspected,
|
||||||
they can be printed selectively using:
|
they can be printed selectively using:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Copyright (c) 2016-2017 Franco Fichtner <franco@opnsense.org>
|
# Copyright (c) 2016-2018 Franco Fichtner <franco@opnsense.org>
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions
|
# modification, are permitted provided that the following conditions
|
||||||
|
@ -31,14 +31,9 @@ SELF=info
|
||||||
|
|
||||||
. ./common.sh
|
. ./common.sh
|
||||||
|
|
||||||
TAGNAME=
|
|
||||||
if [ -n "${1}" ]; then
|
|
||||||
TAGNAME=${1}
|
|
||||||
fi
|
|
||||||
|
|
||||||
info()
|
info()
|
||||||
{
|
{
|
||||||
git_describe ${2} ${TAGNAME}
|
git_describe ${2}
|
||||||
|
|
||||||
cat << EOF
|
cat << EOF
|
||||||
${1} ${2} ${REPO_VERSION} ${REPO_COMMENT} ${REPO_BRANCH}
|
${1} ${2} ${REPO_VERSION} ${REPO_COMMENT} ${REPO_BRANCH}
|
||||||
|
|
Loading…
Reference in New Issue