summaryrefslogtreecommitdiff
path: root/nightly
diff options
context:
space:
mode:
authornjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2009-01-07 08:08:41 +0000
committernjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2009-01-07 08:08:41 +0000
commit1f2df3e05d3ec98a4c8b61416c80ba3e734a967d (patch)
tree1345671c7f660f6b15464c94fe0d25a1c986155d /nightly
parentdf8a11169a6ff9fd574e0894888d4f5b1d52d65b (diff)
trunk/nightly/bin/nightly
Be POSIXy. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8916 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'nightly')
-rwxr-xr-xnightly/bin/nightly2
1 files changed, 1 insertions, 1 deletions
diff --git a/nightly/bin/nightly b/nightly/bin/nightly
index 42152230..cd4d9f16 100755
--- a/nightly/bin/nightly
+++ b/nightly/bin/nightly
@@ -177,7 +177,7 @@ else
if [ `wc -l < $i` -le $MAX_LINES ] ; then
cat $i >> diffs
else
- head -$MAX_LINES $i >> diffs
+ head -n $MAX_LINES $i >> diffs
echo "<truncated beyond $MAX_LINES lines>" >> diffs
fi
done