Skip to content

Commit 3b61ecb

Browse files
committed
Re order to put all variables on top
1 parent a9c51b4 commit 3b61ecb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/jobs/configure-checks/all.bats

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ if [ "$distro_id" = "ID=fedora" ]; then
1111
cmd=dnf
1212
fi
1313

14+
if [ -z ${test_path+x} ]; then
15+
test_path="/domjudge"
16+
# Used in the CI
17+
fi
18+
1419
translate () {
1520
args="$@"
1621
if [ "$distro_id" = "ID=fedora" ]; then
@@ -19,11 +24,6 @@ translate () {
1924
echo "$args"
2025
}
2126

22-
if [ -z ${test_path+x} ]; then
23-
test_path="/domjudge"
24-
# Used in the CI
25-
fi
26-
2727
setup_user() {
2828
id -u $u || (useradd $u ; groupadd $u || true )>/dev/null
2929
chown -R $u:$u ./

0 commit comments

Comments
 (0)