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
5787d8da
Commit
5787d8da
authored
Jan 22, 2000
by
Jim Wilson
Committed by
Bruce Korb
Jan 22, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test for directory before trying to cd into it
From-SVN: r31561
parent
821ee7fb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
3 deletions
+29
-3
gcc/ChangeLog
+5
-0
gcc/fixinc/fixincl.sh
+8
-1
gcc/fixinc/inclhack.sh
+8
-1
gcc/fixinc/inclhack.tpl
+8
-1
No files found.
gcc/ChangeLog
View file @
5787d8da
2000
-
01
-
21
Jim
Wilson
<
wilson
@cygnus
.
com
>
*
fixinc
/
inclhack
.
tpl
:
Test
for
directory
before
trying
to
cd
into
it
.
*
fixinc
/
fixincl
.
sh
,
fixinc
/
inclhack
.
sh
:
Regenerate
.
2000
-
01
-
21
Zack
Weinberg
<
zack
@wolery
.
cumb
.
org
>
2000
-
01
-
21
Zack
Weinberg
<
zack
@wolery
.
cumb
.
org
>
*
cpphash
.
c
(
change_newlines
)
:
Delete
function
.
*
cpphash
.
c
(
change_newlines
)
:
Delete
function
.
...
...
gcc/fixinc/fixincl.sh
View file @
5787d8da
...
@@ -138,7 +138,14 @@ for INPUT in ${INPUTLIST} ; do
...
@@ -138,7 +138,14 @@ for INPUT in ${INPUTLIST} ; do
cd
${
ORIGDIR
}
cd
${
ORIGDIR
}
cd
${
INPUT
}
||
continue
# Make sure a directory exists before changing into it,
# otherwise Solaris2 will fail-exit the script.
#
if
[
!
-d
${
INPUT
}
]
;
then
continue
fi
cd
${
INPUT
}
INPUT
=
`
${
PWDCMD
}
`
INPUT
=
`
${
PWDCMD
}
`
#
#
...
...
gcc/fixinc/inclhack.sh
View file @
5787d8da
...
@@ -139,7 +139,14 @@ for INPUT in ${INPUTLIST} ; do
...
@@ -139,7 +139,14 @@ for INPUT in ${INPUTLIST} ; do
cd
${
ORIGDIR
}
cd
${
ORIGDIR
}
cd
${
INPUT
}
||
continue
# Make sure a directory exists before changing into it,
# otherwise Solaris2 will fail-exit the script.
#
if
[
!
-d
${
INPUT
}
]
;
then
continue
fi
cd
${
INPUT
}
INPUT
=
`
${
PWDCMD
}
`
INPUT
=
`
${
PWDCMD
}
`
#
#
...
...
gcc/fixinc/inclhack.tpl
View file @
5787d8da
...
@@ -135,7 +135,14 @@ for INPUT in ${INPUTLIST} ; do
...
@@ -135,7 +135,14 @@ for INPUT in ${INPUTLIST} ; do
cd $
{
ORIGDIR
}
cd $
{
ORIGDIR
}
cd $
{
INPUT
}
|| continue
# Make sure a directory exists before changing into it,
# otherwise Solaris2 will fail-exit the script.
#
if [ ! -d $
{
INPUT
}
]; then
continue
fi
cd $
{
INPUT
}
INPUT=`$
{
PWDCMD
}
`
INPUT=`$
{
PWDCMD
}
`
#
#
...
...
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