OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PR bootstrap/21215
[pf3gnuchains/gcc-fork.git]
/
gcc
/
gccbug.in
diff --git
a/gcc/gccbug.in
b/gcc/gccbug.in
index
965d507
..
3b8b83d
100755
(executable)
--- a/
gcc/gccbug.in
+++ b/
gcc/gccbug.in
@@
-31,7
+31,11
@@
SUBMITTER=net
GNATS_ADDR=gcc-gnats@gcc.gnu.org
# The default release for this host.
GNATS_ADDR=gcc-gnats@gcc.gnu.org
# The default release for this host.
-DEFAULT_RELEASE="@gcc_version_full@"
+# We have to guess at what program_transform_name might have done.
+# "sed 1q" because neither "head -1" nor "head -n 1" is universal, argh.
+
+DEFAULT_GCC="`echo $0 | sed -e 's/bug//'`"
+DEFAULT_RELEASE="`$DEFAULT_GCC --version | sed 1q`"
# The default organization.
DEFAULT_ORGANIZATION=
# The default organization.
DEFAULT_ORGANIZATION=