[X2Go-Commits] [buildscripts] 01/03: bin/debian-codename-to-version.sh: rewrite comment.
git-admin at x2go.org
git-admin at x2go.org
Fri Jul 1 05:17:15 CEST 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit 9384d4a5e48ec80e84619cceb8a24a65b5461715
Author: Mihai Moldovan <ionic at ionic.de>
Date: Fri Jul 1 04:58:47 2016 +0200
bin/debian-codename-to-version.sh: rewrite comment.
It was partially tailored to the script and partially merely copied from
a function that had nothing to do with how the script behaves.
---
bin/debian-codename-to-version.sh | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/bin/debian-codename-to-version.sh b/bin/debian-codename-to-version.sh
index 327a32f..8bd0384 100755
--- a/bin/debian-codename-to-version.sh
+++ b/bin/debian-codename-to-version.sh
@@ -22,11 +22,12 @@ export PATH="${HOME}/bin:${PATH}"
# ${CDPATH} could lead to some very nasty problems. Better unset it.
unset CDPATH
-# Takes a pseudo-boolean string representation and converts it into
-# either 0 or 1.
-# The result is printed as a string without a trailing newline.
+# Takes a Debian code name and converts it into the
+# corresponding numerical version (based on year and month
+# of the release.)
+# The result is printed as a string with a trailing newline.
# The return code is either 0, iff mapping was successful,
-# or 1 if the codename is unknown and mapping failed.
+# or 1 if the code name is unknown and mapping failed.
typeset -l codename
codename="${1:?"No code name provided."}"
--
Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
More information about the x2go-commits
mailing list