Skip to content

Commit 906694f

Browse files
authored
Update install-domjudge.sh
Change sed delimiter to @, / is used by dj in pws
1 parent df65a5c commit 906694f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install-domjudge.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ docker compose up --scale jh=0 |
6969
#########################
7070
EOF
7171
} | tee -a ../passwords.txt
72-
sed -i "s/JUDGEDAEMON_PASSWORD=password/JUDGEDAEMON_PASSWORD=$jhpw/g" docker-compose.yml
73-
sed -i "s/JUDGEDAEMON_PASSWORD=domjudge/JUDGEDAEMON_PASSWORD=$jhpw/g" docker-compose.yml
72+
sed -i "s@JUDGEDAEMON_PASSWORD=password@JUDGEDAEMON_PASSWORD=$jhpw@g" docker-compose.yml
73+
sed -i "s@JUDGEDAEMON_PASSWORD=domjudge@JUDGEDAEMON_PASSWORD=$jhpw@g" docker-compose.yml
7474
docker compose down
7575
cat >/dev/null
7676
}

0 commit comments

Comments
 (0)