summaryrefslogtreecommitdiff
path: root/patcher.sh
diff options
context:
space:
mode:
authorSrikant Patnaik2015-02-21 08:33:43 +0530
committerSrikant Patnaik2015-02-21 08:33:43 +0530
commitc87cbb33254dd0e43b39f73ab5737c1f334c9a71 (patch)
tree6f1e0392160da8218cb0947ae2eaf9f240cfc7e6 /patcher.sh
parentba8a401f4103af52e037b66eb6dcac1658de2e3d (diff)
downloadFOSSEE-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-xpatcher.sh4
1 files changed, 2 insertions, 2 deletions
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"