projects
/
platform
/
upstream
/
bash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported from ../bash-3.0.tar.gz.
[platform/upstream/bash.git]
/
examples
/
functions
/
xfind.bash
diff --git
a/examples/functions/xfind.bash
b/examples/functions/xfind.bash
index
578e883
..
6d29038
100644
(file)
--- a/
examples/functions/xfind.bash
+++ b/
examples/functions/xfind.bash
@@
-39,7
+39,7
@@
xfind()
# and directories that start with a period.
for x in * ; do
- if [ -d "$x"
-a
! -L "$x" ] ; then
+ if [ -d "$x"
] && [
! -L "$x" ] ; then
$FUNCNAME "$x" "$2" "$action"
fi
done