From c87cbb33254dd0e43b39f73ab5737c1f334c9a71 Mon Sep 17 00:00:00 2001 From: Srikant Patnaik Date: Sat, 21 Feb 2015 08:33:43 +0530 Subject: adding more log entries --- patcher.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'patcher.sh') diff --git a/patcher.sh b/patcher.sh index a3e737d..047f06f 100755 --- a/patcher.sh +++ b/patcher.sh @@ -150,7 +150,7 @@ function generate_commit_files() { do mkdir -p $local_updates/$(dirname $each_file) git show $selected_hash:$each_file>$local_updates/$each_file - echo "$selected_hash,$selected_tag">>$logfile + #echo "$selected_hash,$selected_tag">>$logfile done } @@ -197,7 +197,7 @@ function apply_updates() { for each_file in $(echo $files_in_selected_hash | tr ',' '\n'); do echo "##### applying updates #####">>$logfile - [ ! -d /$each_file ] && mkdir -p $(dirname $each_file)>>$logfile + [ ! -d /$(dirname each_file) ] && mkdir -vp $(dirname $each_file)>>$logfile mv -v $local_updates/$each_file /$each_file>>$logfile done question -w 400 -h 150 "Update done. Select 'Yes' to revisit update selection menu. Select 'Cancel' to 'Quit' this program" -- cgit