From 8c4223e2f1a3180d0836e29e136b41ce0e7afe72 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 12 Jan 2016 15:20:39 -0800 Subject: Port "$@" to OpenIndiana ksh93 In http://lists.gnu.org/archive/html/bug-autoconf/2015-12/msg00000.html Pavel Raiskup reports that ${1+"$@"} runs afoul of a bug in /bin/sh (derived from ksh 93t+ 2010-03-05). ${1+"$@"} works around an ancient bug long-dead shells, so remove the workaround. * build-aux/announce-gen, build-aux/do-release-commit-and-tag: * build-aux/gitlog-to-changelog, build-aux/gnu-web-doc-update: * build-aux/prefix-gnulib-mk, build-aux/update-copyright: * build-aux/useless-if-before-free, tests/test-update-copyright.sh: Use "$@" instead of ${1+"$@"}. --- build-aux/do-release-commit-and-tag | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build-aux/do-release-commit-and-tag') diff --git a/build-aux/do-release-commit-and-tag b/build-aux/do-release-commit-and-tag index 7441dbdb7c..b4f3251f8c 100755 --- a/build-aux/do-release-commit-and-tag +++ b/build-aux/do-release-commit-and-tag @@ -3,7 +3,7 @@ # controlled .prev-version file, automate the procedure by which we record # the date, release-type and version string in the NEWS file. That commit # will serve to identify the release, so apply a signed tag to it as well. -VERSION=2016-01-11.22 # UTC +VERSION=2016-01-12.23 # UTC # Note: this is a bash script (could be zsh or dash) @@ -94,7 +94,7 @@ do opt=$(echo "$1" | sed -e 's/=.*//') val=$(echo "$1" | sed -e 's/[^=]*=//') shift - set dummy "$opt" "$val" ${1+"$@"}; shift + set dummy "$opt" "$val" "$@"; shift ;; esac -- cgit v1.2.1