Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Put back the --disable-ipv6 option. This should only be needed if
[rsync/rsync.git]
/
testsuite
/
rsync.fns
diff --git
a/testsuite/rsync.fns
b/testsuite/rsync.fns
index
48851ba
..
8f8e7d3
100644
(file)
--- a/
testsuite/rsync.fns
+++ b/
testsuite/rsync.fns
@@
-100,6
+100,7
@@
hands_setup() {
# Many machines do not have "mkdir -p", so we have to build up long paths.
# How boring.
makepath () {
# Many machines do not have "mkdir -p", so we have to build up long paths.
# How boring.
makepath () {
+ echo " makepath $1"
p="$1"
(
# Absolut Unix.
p="$1"
(
# Absolut Unix.
@@
-111,8
+112,12
@@
makepath () {
# This will break if $1 contains a space.
for c in `echo $p | tr '/' ' '`
do
# This will break if $1 contains a space.
for c in `echo $p | tr '/' ' '`
do
- [ -d "$c" ] || mkdir "$c" || return $?
- cd "$c" || return $?
+ if [ -d "$c" ] || mkdir "$c"
+ then
+ cd "$c" || return $?
+ else
+ echo "failed to create $c" >&2; return $?
+ fi
done
)
}
done
)
}