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
46159c15
Commit
46159c15
authored
Dec 27, 2000
by
Bruce Korb
Committed by
Bruce Korb
Dec 27, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"test" is better at testing for directories than "ls"
From-SVN: r38499
parent
47986760
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
gcc/ChangeLog
+1
-0
gcc/fixinc/fixincl.sh
+5
-5
No files found.
gcc/ChangeLog
View file @
46159c15
...
...
@@ -3,6 +3,7 @@
* fixinc/Makefile.in: fix for ancient Bourne shell
* fixinc/Makefile.BEOS: obsolete
* fixinc/Makefile.DOS: obsolete
* fixinc/fixincl.sh(LINKS): use `test -d' rather than `ls' for testing
2000-12-27 Bernd Schmidt <bernds@redhat.com>
...
...
gcc/fixinc/fixincl.sh
View file @
46159c15
...
...
@@ -449,11 +449,11 @@ if $LINKS; then
all_dirs
=
`
find
.
-type
l
-print
`
for
file
in
$all_dirs
do
if
ls
-lLd
$file
>
/dev/null
then
:
else
rm
-f
$file
test
$VERBOSE
-gt
3
&&
echo
" removed
$file
"
rmdir
`
dirname
$file
`
>
/dev/null
&&
\
if
test
!
-d
$file
then
rm
-f
$file
test
$VERBOSE
-gt
3
&&
echo
" removed
$file
"
rmdir
`
dirname
$file
`
>
/dev/null
&&
\
test
$VERBOSE
-gt
3
&&
\
echo
" removed
`
dirname
$file
`
"
fi
...
...
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