diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-05 10:08:18 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-05 10:08:18 +0900 |
commit | b15fb2d17b19575dbd7314fc96d64cc64f9d5795 (patch) | |
tree | f635a67927c7be9409dc03ba6c5d746ace19a776 /build-aux/git-version-gen | |
parent | 6403e0986cb5d0b8b4cbea66f8f3ff7a68cb4c20 (diff) | |
download | wget-b15fb2d17b19575dbd7314fc96d64cc64f9d5795.tar.gz wget-b15fb2d17b19575dbd7314fc96d64cc64f9d5795.tar.bz2 wget-b15fb2d17b19575dbd7314fc96d64cc64f9d5795.zip |
Imported Upstream version 1.19upstream/1.19
Diffstat (limited to 'build-aux/git-version-gen')
-rwxr-xr-x | build-aux/git-version-gen | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/build-aux/git-version-gen b/build-aux/git-version-gen index 8e92c0a..079849d 100755 --- a/build-aux/git-version-gen +++ b/build-aux/git-version-gen @@ -1,8 +1,8 @@ #!/bin/sh # Print a version string. -scriptversion=2014-12-02.19; # UTC +scriptversion=2017-01-09.19; # UTC -# Copyright (C) 2007-2015 Free Software Foundation, Inc. +# Copyright (C) 2007-2017 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -101,8 +101,8 @@ while test $# -gt 0; do case $1 in --help) echo "$usage"; exit 0;; --version) echo "$version"; exit 0;; - --prefix) shift; prefix="$1";; - --fallback) shift; fallback="$1";; + --prefix) shift; prefix=${1?};; + --fallback) shift; fallback=${1?};; -*) echo "$0: Unknown option '$1'." >&2 echo "$0: Try '--help' for more information." >&2 @@ -200,7 +200,7 @@ v=`echo "$v" |sed "s/^$prefix//"` # string we're using came from git. I.e., skip the test if it's "UNKNOWN" # or if it came from .tarball-version. if test "x$v_from_git" != x; then - # Don't declare a version "dirty" merely because a time stamp has changed. + # Don't declare a version "dirty" merely because a timestamp has changed. git update-index --refresh > /dev/null 2>&1 dirty=`exec 2>/dev/null;git diff-index --name-only HEAD` || dirty= @@ -221,6 +221,6 @@ printf %s "$v" # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: |