File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed
Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh -e
22
3- echo -n " checking no_turbo: "
3+ printf " checking no_turbo: "
44cat /sys/devices/system/cpu/intel_pstate/no_turbo
55
6- echo -n " min perf pct: "
6+ printf " min perf pct: "
77cat /sys/devices/system/cpu/intel_pstate/min_perf_pct
88
9- echo -n " max perf pct: "
9+ printf " max perf pct: "
1010cat /sys/devices/system/cpu/intel_pstate/max_perf_pct
1111
1212echo " scaling governors: "
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ # shellcheck disable=SC1003,SC2034,SC2086
3+
24set -eu -o pipefail
35
46# Set credentials in ~/.netrc
Original file line number Diff line number Diff line change 11#! /bin/sh -e
2+ # shellcheck disable=SC2002
23
34# Set credentials in ~/.netrc
45
Original file line number Diff line number Diff line change 22
33jid=$1
44
5- judgehost=$( http https://domjudge/api/contests/test1/judgements/${jid} | grep judgehost | cut -d\" -f4 | cut -d- -f1,2)
5+ judgehost=$( http " https://domjudge/api/contests/test1/judgements/${jid} " | grep judgehost | cut -d\" -f4 | cut -d- -f1,2)
66
77dest=" /tmp/j${jid} /"
88mkdir -p " $dest "
9- scp -r $judgehost :/home/domjudge/domjudge/output/judgings/${judgehost} -0/endpoint-default/c* j${jid} /* " $dest " & > /dev/null
9+ scp -r " $judgehost :/home/domjudge/domjudge/output/judgings/${judgehost} -0/endpoint-default/c*j${jid} /*" " $dest " > /dev/null 2>&1
1010
1111echo " Succesfully copied package to $dest "
You can’t perform that action at this time.
0 commit comments