build/info: zap useless feature

This commit is contained in:
Franco Fichtner 2018-11-02 08:49:52 +01:00
parent 94acdfd303
commit 6c3af6aed8
2 changed files with 5 additions and 10 deletions

View File

@ -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,
packages, serial, vga and vm.
The current state or a tagged state of required build repositories
on the system can be printed using:
The current state of the associated build repositories checked
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,
they can be printed selectively using:

View File

@ -1,6 +1,6 @@
#!/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
# modification, are permitted provided that the following conditions
@ -31,14 +31,9 @@ SELF=info
. ./common.sh
TAGNAME=
if [ -n "${1}" ]; then
TAGNAME=${1}
fi
info()
{
git_describe ${2} ${TAGNAME}
git_describe ${2}
cat << EOF
${1} ${2} ${REPO_VERSION} ${REPO_COMMENT} ${REPO_BRANCH}