From 6c3af6aed86e8c1dd9a5c6976e1d8dd179a9bdc2 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Fri, 2 Nov 2018 08:49:52 +0100 Subject: [PATCH] build/info: zap useless feature --- README.md | 6 +++--- build/info.sh | 9 ++------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 56583eb..e356546 100644 --- a/README.md +++ b/README.md @@ -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[-] + # make info Last but not least, in case build variables needs to be inspected, they can be printed selectively using: diff --git a/build/info.sh b/build/info.sh index 243fea1..6b4241e 100644 --- a/build/info.sh +++ b/build/info.sh @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (c) 2016-2017 Franco Fichtner +# Copyright (c) 2016-2018 Franco Fichtner # # 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}