Index: bin/c |
diff --git a/bin/c b/bin/c |
index a7b752cc674ee27ff69357fc1d3ce17630a36a9b..129a4e142bb8184887f5fe322b41716927415644 100755 |
--- a/bin/c |
+++ b/bin/c |
@@ -11,10 +11,12 @@ if [ $BRANCH == $CLEAN ]; then |
exit 1 |
fi |
-git checkout $CLEAN |
-./gyp_skia >/dev/null |
-ninja -C out/Release nanobench |
-out/Release/nanobench $@ --samples $SAMPLES -v 2> $CLEAN.log |
+if [ ! -f $CLEAN.log ]; then |
+ git checkout $CLEAN |
+ ./gyp_skia >/dev/null |
+ ninja -C out/Release nanobench |
+ out/Release/nanobench $@ --samples $SAMPLES -v 2> $CLEAN.log |
+fi |
git checkout $BRANCH |
./gyp_skia >/dev/null |