summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-27 20:19:41 +0000
committerrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-27 20:19:41 +0000
commit3aa7b555cf1afc5ce9980b41bdc473e609066675 (patch)
tree9821cf7bb3605e22ac0bbeda8721adaaab6cb09f /contrib
parent5b097d1dbd061bb1b859891d7d8149ff940e5e70 (diff)
downloadgcc-3aa7b555cf1afc5ce9980b41bdc473e609066675.tar.gz
Fix unportable shell quoting.
/: PR bootstrap/44621 * configure.ac: Fix unportable shell quoting. * configure: Regenerate. config/: * po.m4 (AM_PO_SUBDIRS): Fix unportable shell quoting. contrib/reghunt/: * bin/gcc-svn-ids: Fix unportable shell quoting. * date_based/reg_periodic: Likewise. * date_based/reg_search: Likewise. intl/: PR bootstrap/44621 * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164668 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r--contrib/reghunt/ChangeLog6
-rwxr-xr-xcontrib/reghunt/bin/gcc-svn-ids4
-rwxr-xr-xcontrib/reghunt/date_based/reg_periodic4
-rwxr-xr-xcontrib/reghunt/date_based/reg_search4
4 files changed, 12 insertions, 6 deletions
diff --git a/contrib/reghunt/ChangeLog b/contrib/reghunt/ChangeLog
index 5a426a927fa..af27b8f97c4 100644
--- a/contrib/reghunt/ChangeLog
+++ b/contrib/reghunt/ChangeLog
@@ -1,3 +1,9 @@
+2010-06-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * bin/gcc-svn-ids: Fix unportable shell quoting.
+ * date_based/reg_periodic: Likewise.
+ * date_based/reg_search: Likewise.
+
2009-02-17 Janis Johnson <janis187@us.ibm.com>
* examples: New directory.
diff --git a/contrib/reghunt/bin/gcc-svn-ids b/contrib/reghunt/bin/gcc-svn-ids
index 98602cc3e63..2953e56da75 100755
--- a/contrib/reghunt/bin/gcc-svn-ids
+++ b/contrib/reghunt/bin/gcc-svn-ids
@@ -63,8 +63,8 @@ fi
ID="$1"
case ${FROM_KIND} in
-index) LINE="`awk -F '|' -v id="${ID}" '{if ($1 == id) print }' < ${LIST}`";;
-rev) LINE="`awk -F '|' -v id="${ID}" '{if ($2 == id) print }' < ${LIST}`";;
+index) LINE=`awk -F '|' -v id="${ID}" '{if ($1 == id) print }' < ${LIST}`;;
+rev) LINE=`awk -F '|' -v id="${ID}" '{if ($2 == id) print }' < ${LIST}`;;
*) errmsg "unrecognized FROM kind: ${FROM_KIND}";
usage;;
esac
diff --git a/contrib/reghunt/date_based/reg_periodic b/contrib/reghunt/date_based/reg_periodic
index 498e6dc92dd..a77567d4d5b 100755
--- a/contrib/reghunt/date_based/reg_periodic
+++ b/contrib/reghunt/date_based/reg_periodic
@@ -25,7 +25,7 @@
# is STOP in the current directory.
#
#
-# Copyright (c) 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
+# Copyright (c) 2002, 2003, 2005, 2009, 2010 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -70,7 +70,7 @@ error() {
# control tools and report to the user.
make_date() {
- MADE_DATE="`${DATE} -u +\"%Y-%m-%d %H:%M %Z\" --date \"1970-01-01 ${1} seconds\"`" \
+ MADE_DATE=`${DATE} -u +"%Y-%m-%d %H:%M %Z" --date "1970-01-01 ${1} seconds"` \
|| error "make_date: date command failed"
}
diff --git a/contrib/reghunt/date_based/reg_search b/contrib/reghunt/date_based/reg_search
index 75cb214baee..46602054d79 100755
--- a/contrib/reghunt/date_based/reg_search
+++ b/contrib/reghunt/date_based/reg_search
@@ -45,7 +45,7 @@
#
#
#
-# Copyright (c) 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
+# Copyright (c) 2002, 2003, 2005, 2009, 2010 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -96,7 +96,7 @@ error() {
# control tools and report to the user.
make_date() {
- MADE_DATE="`${DATE} -u +\"%Y-%m-%d %H:%M %Z\" --date \"1970-01-01 ${1} seconds\"`" \
+ MADE_DATE=`${DATE} -u +"%Y-%m-%d %H:%M %Z" --date "1970-01-01 ${1} seconds"` \
|| error "make_date: date command failed"
}