You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by rv...@apache.org on 2015/07/24 12:45:30 UTC
jena git commit: Fix typo in extracting value from free (JENA-977)
Repository: jena
Updated Branches:
refs/heads/master d734e8abe -> 62558f47b
Fix typo in extracting value from free (JENA-977)
head was missing -n 1
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/62558f47
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/62558f47
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/62558f47
Branch: refs/heads/master
Commit: 62558f47b6aa01b332f2f2fba5f829ab9673ea28
Parents: d734e8a
Author: Rob Vesse <rv...@apache.org>
Authored: Fri Jul 24 11:45:05 2015 +0100
Committer: Rob Vesse <rv...@apache.org>
Committed: Fri Jul 24 11:45:05 2015 +0100
----------------------------------------------------------------------
apache-jena/bin/tdbloader2common | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/62558f47/apache-jena/bin/tdbloader2common
----------------------------------------------------------------------
diff --git a/apache-jena/bin/tdbloader2common b/apache-jena/bin/tdbloader2common
index 8f0d462..6c16944 100644
--- a/apache-jena/bin/tdbloader2common
+++ b/apache-jena/bin/tdbloader2common
@@ -108,7 +108,7 @@ function getFreeMem() {
case "$FREE_MEM" in
''|*[!0-9]*)
# Clean up free output on 3.x kernels
- FREE_MEM=$(echo "$FREE_MEM" | tail -n +2 | head | awk '{print $4}')
+ FREE_MEM=$(echo "$FREE_MEM" | tail -n +2 | head -n 1 | awk '{print $4}')
esac
# Final check that the output is numeric