mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-23 22:28:16 -04:00
BSD machines don't seem to have head(1).
This commit is contained in:
1 parent
501972bf72
commit
571a4b2654
2 files changed
+5
-3
No files matched your search
@@ -95,6 +95,8 @@
|
||||
# You cannot use "function foo {" syntax, but must instead say "foo()
|
||||
# {", or it breaks on FreeBSD.
|
||||
|
||||
# BSD machines tend not to have "head" or "seq".
|
||||
|
||||
|
||||
|
||||
# STILL TO DO:
|
||||
|
||||
+3
-3
@@ -67,8 +67,8 @@ hands_setup() {
|
||||
touch ${FROM}/empty
|
||||
mkdir ${FROM}/emptydir
|
||||
|
||||
# a few hundred lines of test
|
||||
ls -lR / | head -200 > ${FROM}/filelist
|
||||
# a hundred lines of text or so
|
||||
ls -lR $(srcdir) >${FROM}/filelist
|
||||
|
||||
# This might fail on systems that don't have -n
|
||||
echo $ECHO_N "This file has no trailing lf$ECHO_C" > ${FROM}/nolf
|
||||
@@ -76,7 +76,7 @@ hands_setup() {
|
||||
ln -s nolf ${FROM}/nolf-symlink
|
||||
umask 077
|
||||
|
||||
cat $srcdir/*.c | head -2000 > ${FROM}/${F1}
|
||||
cat $srcdir/*.c > ${FROM}/${F1}
|
||||
mkdir ${FROM}/dir
|
||||
cp ${FROM}/${F1} ${FROM}/dir
|
||||
mkdir ${FROM}/dir/subdir
|
||||
|
||||
Reference in new issue
Block a user