Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
d8e6fa6e
Commit
d8e6fa6e
authored
Oct 28, 2005
by
Daniel Berlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix update_version_svn so it actually is the correct version of this script
From-SVN: r105928
parent
9a1ba72e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
maintainer-scripts/update_version_svn
+3
-5
No files found.
maintainer-scripts/update_version_svn
View file @
d8e6fa6e
...
@@ -23,10 +23,9 @@ BRANCHES=`$SVN ls $SVNROOT/branches \
...
@@ -23,10 +23,9 @@ BRANCHES=`$SVN ls $SVNROOT/branches \
| sed
-e
's/\///'
\
| sed
-e
's/\///'
\
| egrep
'gcc-[0-9]+_[0-9]+-branch$'
\
| egrep
'gcc-[0-9]+_[0-9]+-branch$'
\
| egrep
-v
$IGNORE_BRANCHES
`
| egrep
-v
$IGNORE_BRANCHES
`
# Always update the mainline.
# Always update the mainline.
BRANCHES
=
"
${
BRANCHES
}
${
ADD_BRANCHES
}
"
BRANCHES
=
"
${
BRANCHES
}
${
ADD_BRANCHES
}
"
BRANCHES
=
"HEAD"
# ARGS is passed to 'cvs co'
# ARGS is passed to 'cvs co'
CURR_DATE
=
`
/bin/date +
"%Y%m%d"
`
CURR_DATE
=
`
/bin/date +
"%Y%m%d"
`
...
@@ -66,8 +65,6 @@ for BRANCH in $BRANCHES; do
...
@@ -66,8 +65,6 @@ for BRANCH in $BRANCHES; do
dirname
=
`
basename
$file
`
dirname
=
`
basename
$file
`
file
=
`
basename
$file
`
file
=
`
basename
$file
`
file
=
"
$dirname
/
$file
"
file
=
"
$dirname
/
$file
"
echo
"
$file
"
exit
0
;
if
test
-f
$file
;
then
if
test
-f
$file
;
then
/bin/sed <
$file
>
$file
.new
-e
\
/bin/sed <
$file
>
$file
.new
-e
\
"s/
\(
.*
\"
[^ ]*
\)
[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]/
\1
${
CURR_DATE
}
/"
"s/
\(
.*
\"
[^ ]*
\)
[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]/
\1
${
CURR_DATE
}
/"
...
@@ -80,6 +77,7 @@ for BRANCH in $BRANCHES; do
...
@@ -80,6 +77,7 @@ for BRANCH in $BRANCHES; do
fi
fi
fi
fi
done
done
for
file
in
$cppdefine_FILES
;
do
for
file
in
$cppdefine_FILES
;
do
dirname
=
`
basename
$file
`
dirname
=
`
basename
$file
`
file
=
`
basename
$file
`
file
=
`
basename
$file
`
...
@@ -112,7 +110,7 @@ for BRANCH in $BRANCHES; do
...
@@ -112,7 +110,7 @@ for BRANCH in $BRANCHES; do
fi
fi
fi
fi
done
done
echo
"
$COMMIT_FILES
"
if
test
-n
"
$COMMIT_FILES
"
;
then
if
test
-n
"
$COMMIT_FILES
"
;
then
for
i
in
$COMMIT_FILES
;
do
for
i
in
$COMMIT_FILES
;
do
echo
"Attempting to commit
$i
"
echo
"Attempting to commit
$i
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment