From 7f127fa09cea985a8cb3df03c0bfce5f64f5e556 Mon Sep 17 00:00:00 2001 From: Adriana Draghici Date: Sun, 11 Apr 2010 12:50:44 +0300 Subject: [PATCH] updated paths in parse_log/status_files scripts. --- scripts/parse_log_files | 4 ++-- scripts/parse_status_files | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/parse_log_files b/scripts/parse_log_files index b1b3daf..93ae4f3 100755 --- a/scripts/parse_log_files +++ b/scripts/parse_log_files @@ -1,7 +1,7 @@ #!/bin/bash DATABASE_FILE=client-limitation-experiment.db -REPOSITORY_ROOT=../../../cs-p2p-next +REPOSITORY_ROOT=../cs-p2p-next echo "Running libtorrent log file parser." echo "Database file is $DATABASE_FILE" @@ -19,7 +19,7 @@ for folder in $(find .. -type d -name 'p2p-next-*' | sort); do echo "Parsing status folder $folder for session id $id ... " for log_file in $(find $folder/log/libtorrent_logs5* -type f); do - yes y | PYTHONPATH=$REPOSITORY_ROOT/auto/db/ python $REPOSITORY_ROOT/log-parser/libtorrent/LogParser.py -i $id -f $log_file $DATABASE_FILE + yes y | PYTHONPATH=$REPOSITORY_ROOT/db/ python $REPOSITORY_ROOT/log-parser/libtorrent/LogParser.py -i $id -f $log_file $DATABASE_FILE done done diff --git a/scripts/parse_status_files b/scripts/parse_status_files index 7a14641..78022f2 100755 --- a/scripts/parse_status_files +++ b/scripts/parse_status_files @@ -1,7 +1,7 @@ #!/bin/bash DATABASE_FILE=client-test.db -REPOSITORY_ROOT=../../../cs-p2p-next +REPOSITORY_ROOT=../cs-p2p-next echo "Running status file parser." echo "Database file is $DATABASE_FILE" @@ -13,6 +13,6 @@ for status_file in $(find .. -type f -name 'hrktorrent_file*.log' | sort); do ((id++)) echo -n "Parsing status file $status_file for session id $id ... " - PYTHONPATH=$REPOSITORY_ROOT/auto/db/ python $REPOSITORY_ROOT/log-parser/libtorrent/StatusParser.py -i $id -f $status_file $DATABASE_FILE + PYTHONPATH=$REPOSITORY_ROOT/db/ python $REPOSITORY_ROOT/log-parser/libtorrent/StatusParser.py -i $id -f $status_file $DATABASE_FILE echo "done" done -- 2.20.1