projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
279d4c1
)
fix ARI for git migration
author
Tom Tromey
<tromey@redhat.com>
Tue, 17 Sep 2013 15:19:25 +0000
(09:19 -0600)
committer
Tom Tromey
<tromey@sourceware.org>
Fri, 25 Oct 2013 14:02:58 +0000
(14:02 +0000)
This fixes the ARI script for the git migration.
* contrib/ari/create-web-ari-in-src.sh: Update for git.
gdb/contrib/ari/create-web-ari-in-src.sh
patch
|
blob
|
history
diff --git
a/gdb/contrib/ari/create-web-ari-in-src.sh
b/gdb/contrib/ari/create-web-ari-in-src.sh
index 2d9c5888933a3b3a6e9804dd690fc5e4cade15d1..7f0c4233bfb284cd9a6ff40a7c806dce629c1d5c 100644
(file)
--- a/
gdb/contrib/ari/create-web-ari-in-src.sh
+++ b/
gdb/contrib/ari/create-web-ari-in-src.sh
@@
-55,6
+55,11
@@
if [ -z "${webdir}" ] ; then
# Use 'branch' subdir name if Tag contains branch
if [ -f "${srcdir}/gdb/CVS/Tag" ] ; then
tagname=`cat "${srcdir}/gdb/CVS/Tag"`
+ elif [ -d "${srcdir}/.git" ] ; then
+ tagname=`cd ${srcdir} && git rev-parse --abbrev-ref HEAD`
+ if test "$tagname" = "master"; then
+ tagname=trunk
+ fi
else
tagname=trunk
fi