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
d028e149
Commit
d028e149
authored
Mar 18, 2005
by
Andreas Schwab
Committed by
Andreas Schwab
Mar 18, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc_update (apply_patch): Properly quote $1.
From-SVN: r96705
parent
c51a1ba9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
contrib/ChangeLog
+4
-0
contrib/gcc_update
+5
-5
No files found.
contrib/ChangeLog
View file @
d028e149
2005
-
03
-
18
Andreas
Schwab
<
schwab
@suse
.
de
>
*
gcc_update
(
apply_patch
)
:
Properly
quote
$
1
.
2005
-
03
-
18
Zack
Weinberg
<
zack
@codesourcery
.
com
>
*
gcc_update
:
Add
--
silent
option
.
...
...
contrib/gcc_update
View file @
d028e149
...
...
@@ -166,15 +166,15 @@ touch_files_reexec () {
# This functions applies a patch to an existing tree.
apply_patch
()
{
if
[
-f
$1
]
;
then
if
[
-f
"
$1
"
]
;
then
echo
"Applying patch file
$1
"
case
"
$1
"
in
case
$1
in
*
gz
)
gzip
-d
-c
$1
| patch
-p1
;;
gzip
-d
-c
"
$1
"
| patch
-p1
;;
*
bz2
)
bzip2
-d
-c
$1
| patch
-p1
;;
bzip2
-d
-c
"
$1
"
| patch
-p1
;;
*
)
cat
$1
| patch
-p1
;;
patch
-p1
<
"
$1
"
;;
esac
fi
touch_files_reexec
...
...
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