diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2011-09-23 12:42:54 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2011-09-23 12:42:54 +0530 |
commit | ec0a69e378a90fc8ccc09e2234ab3e0f2ce69182 (patch) | |
tree | 42c0cad7d473ac7af2ebc0ac59ab93fd9411c834 /sanity/nightly_sanity/nightly_sanity.sh | |
parent | ecdd98b23653ce2e4673bb8b4ad61e36ba2bcf3b (diff) |
sanity/nightly_sanity: save the patches applied everyday
Do not print the git diff of the applied patches in the message.
Instead copy the patches diretory to /tmp and save that directory
in the results directory everyday.
Diffstat (limited to 'sanity/nightly_sanity/nightly_sanity.sh')
-rwxr-xr-x | sanity/nightly_sanity/nightly_sanity.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sanity/nightly_sanity/nightly_sanity.sh b/sanity/nightly_sanity/nightly_sanity.sh index 8af244c..143ed89 100755 --- a/sanity/nightly_sanity/nightly_sanity.sh +++ b/sanity/nightly_sanity/nightly_sanity.sh @@ -67,14 +67,17 @@ function update_git () #return 0; fi + echo "========PATCHES========"; + for i in $(ls /root/patches) do $GIT_PATH apply /root/patches/$i; + echo $i >> $GIT_FILE done - echo "========DIFF========"; - $GIT_PATH diff >> $GIT_FILE; + #$GIT_PATH diff >> $GIT_FILE; + cp -r /root/patches/ /tmp/; rm -f /root/patches/*; } |