Commit 571a4b26 authored by Martin Pool's avatar Martin Pool

BSD machines don't seem to have head(1).

parent 501972bf
......@@ -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:
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment