summaryrefslogtreecommitdiffstats
path: root/2022/organizers-notebook
diff options
context:
space:
mode:
Diffstat (limited to '2022/organizers-notebook')
-rw-r--r--2022/organizers-notebook/index.org12
1 files changed, 8 insertions, 4 deletions
diff --git a/2022/organizers-notebook/index.org b/2022/organizers-notebook/index.org
index 059d01e6..667747f0 100644
--- a/2022/organizers-notebook/index.org
+++ b/2022/organizers-notebook/index.org
@@ -3396,7 +3396,7 @@ plural() {
"is" )
"are"
;;
- * )
+ ,* )
"${1}s"
esac
fi
@@ -3410,10 +3410,14 @@ notify() {
echo "Currently waiting for prerec"
prerecs_number_past=$(cat "$data")
-prerecs_number_current="$(TERM=xterm ssh orga@media.emacsconf.org -- ls -1 /srv/upload | wc -l)"
-diff=$((prerecs_number_current - prerecs_number_past))
+diff=0
-while [ $diff = 0 ]; do
+while true; do
+ prerecs_number_current="$(TERM=xterm ssh orga@media.emacsconf.org -- ls -1 /srv/upload | wc -l)"
+ diff=$((prerecs_number_current - prerecs_number_past))
+ if [ $diff -gt 0 ]; then
+ break
+ fi
sleep "$sleep_duration"
done