You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by dk...@apache.org on 2016/06/28 15:23:24 UTC

tinkerpop git commit: minor correction; code was using a test file instead of the actual output file

Repository: tinkerpop
Updated Branches:
  refs/heads/TINKERPOP-1071 98f09bad6 -> 2d69b9e71


minor correction; code was using a test file instead of the actual output file


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/2d69b9e7
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/2d69b9e7
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/2d69b9e7

Branch: refs/heads/TINKERPOP-1071
Commit: 2d69b9e71b11bcdbd3220809304fc8017d5ab9de
Parents: 98f09ba
Author: Daniel Kuppitz <da...@hotmail.com>
Authored: Tue Jun 28 17:22:31 2016 +0200
Committer: Daniel Kuppitz <da...@hotmail.com>
Committed: Tue Jun 28 17:22:31 2016 +0200

----------------------------------------------------------------------
 docs/preprocessor/preprocess-file.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/2d69b9e7/docs/preprocessor/preprocess-file.sh
----------------------------------------------------------------------
diff --git a/docs/preprocessor/preprocess-file.sh b/docs/preprocessor/preprocess-file.sh
index 57a8b98..242cfe5 100755
--- a/docs/preprocessor/preprocess-file.sh
+++ b/docs/preprocessor/preprocess-file.sh
@@ -72,7 +72,7 @@ trap cleanup INT
 
 function cleanup {
   if [ -f "${output}" ]; then
-    if [ `wc -l /tmp/foo | awk '{print $1}'` -gt 0 ]; then
+    if [ `wc -l "${output}" | awk '{print $1}'` -gt 0 ]; then
       echo -e "\n\e[1mLast 10 lines of ${output}:\e[0m\n"
       tail -n10 ${output}
       echo