diff options
author | Srikant Patnaik | 2015-02-21 08:33:43 +0530 |
---|---|---|
committer | Srikant Patnaik | 2015-02-21 08:33:43 +0530 |
commit | c87cbb33254dd0e43b39f73ab5737c1f334c9a71 (patch) | |
tree | 6f1e0392160da8218cb0947ae2eaf9f240cfc7e6 /patcher.sh | |
parent | ba8a401f4103af52e037b66eb6dcac1658de2e3d (diff) | |
download | FOSSEE-netbook-patcher-c87cbb33254dd0e43b39f73ab5737c1f334c9a71.tar.gz FOSSEE-netbook-patcher-c87cbb33254dd0e43b39f73ab5737c1f334c9a71.tar.bz2 FOSSEE-netbook-patcher-c87cbb33254dd0e43b39f73ab5737c1f334c9a71.zip |
adding more log entries
Diffstat (limited to 'patcher.sh')
-rwxr-xr-x | patcher.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |