Skip to content

Commit

Permalink
grep quietly
Browse files Browse the repository at this point in the history
  • Loading branch information
scottleibrand committed Jan 3, 2017
1 parent f7855b8 commit 6574a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/oref0-ns-autotune.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ fi
cd $directory && mkdir -p autotune
cp settings/profile.json autotune/profile.pump.json
# If a previous valid settings/autotune.json exists, use that; otherwise start from settings/profile.json
cp settings/autotune.json autotune/profile.json && cat autotune/profile.json | json | grep start || cp autotune/profile.pump.json autotune/profile.json
cp settings/autotune.json autotune/profile.json && cat autotune/profile.json | json | grep -q start || cp autotune/profile.pump.json autotune/profile.json
cd autotune
# TODO: Need to think through what to remove in the autotune folder...

Expand Down

0 comments on commit 6574a02

Please sign in to comment.