summaryrefslogtreecommitdiffstats
path: root/sanity/nightly_sanity/nightly_sanity.sh
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2011-09-23 12:42:54 +0530
committerRaghavendra Bhat <raghavendrabhat@gluster.com>2011-09-23 12:42:54 +0530
commitec0a69e378a90fc8ccc09e2234ab3e0f2ce69182 (patch)
tree42c0cad7d473ac7af2ebc0ac59ab93fd9411c834 /sanity/nightly_sanity/nightly_sanity.sh
parentecdd98b23653ce2e4673bb8b4ad61e36ba2bcf3b (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-xsanity/nightly_sanity/nightly_sanity.sh7
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/*;
}