Browse Source

build/info: zap useless feature

pull/103/head
Franco Fichtner 2 years ago
parent
commit
6c3af6aed8
2 changed files with 5 additions and 10 deletions
  1. +3
    -3
      README.md
  2. +2
    -7
      build/info.sh

+ 3
- 3
README.md 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:

+ 2
- 7
build/info.sh 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}

Loading…
Cancel
Save