Mercurial > hg > CbC > CbC_gcc
comparison contrib/reghunt/date_based/reg_search @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | a06113de4d67 |
children |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
43 # DATE_IN_MSG If set to anything but 0, include the time and date in | 43 # DATE_IN_MSG If set to anything but 0, include the time and date in |
44 # messages. | 44 # messages. |
45 # | 45 # |
46 # | 46 # |
47 # | 47 # |
48 # Copyright (c) 2002, 2003, 2005, 2009 Free Software Foundation, Inc. | 48 # Copyright (c) 2002, 2003, 2005, 2009, 2010 Free Software Foundation, Inc. |
49 # | 49 # |
50 # This file is free software; you can redistribute it and/or modify | 50 # This file is free software; you can redistribute it and/or modify |
51 # it under the terms of the GNU General Public License as published by | 51 # it under the terms of the GNU General Public License as published by |
52 # the Free Software Foundation; either version 3 of the License, or | 52 # the Free Software Foundation; either version 3 of the License, or |
53 # (at your option) any later version. | 53 # (at your option) any later version. |
94 | 94 |
95 # Turn seconds since the epoch into a date we can use with source | 95 # Turn seconds since the epoch into a date we can use with source |
96 # control tools and report to the user. | 96 # control tools and report to the user. |
97 | 97 |
98 make_date() { | 98 make_date() { |
99 MADE_DATE="`${DATE} -u +\"%Y-%m-%d %H:%M %Z\" --date \"1970-01-01 ${1} seconds\"`" \ | 99 MADE_DATE=`${DATE} -u +"%Y-%m-%d %H:%M %Z" --date "1970-01-01 ${1} seconds"` \ |
100 || error "make_date: date command failed" | 100 || error "make_date: date command failed" |
101 } | 101 } |
102 | 102 |
103 # Build the components to test using sources as of a particular date and | 103 # Build the components to test using sources as of a particular date and |
104 # run a test case. Pass each of the scripts the date that we're | 104 # run a test case. Pass each of the scripts the date that we're |