summaryrefslogtreecommitdiffstats
path: root/2022/organizers-notebook
diff options
context:
space:
mode:
authorLeo Vivier <zaeph@zaeph.net>2022-10-21 17:32:55 +0200
committerLeo Vivier <zaeph@zaeph.net>2022-10-21 17:32:55 +0200
commit5d5ca79c681f2a78967ddb9ac6527fb77935b40e (patch)
tree5fd0b1566adecd379cd60e4ce3b9b7eaf03ffc62 /2022/organizers-notebook
parentf9ea05ec16bada6539c8a7588ed4662da6c5f333 (diff)
downloademacsconf-wiki-5d5ca79c681f2a78967ddb9ac6527fb77935b40e.tar.xz
emacsconf-wiki-5d5ca79c681f2a78967ddb9ac6527fb77935b40e.zip
Fix unmodified name
Diffstat (limited to '')
-rw-r--r--2022/organizers-notebook.md11
-rw-r--r--2022/organizers-notebook/index.org9
2 files changed, 9 insertions, 11 deletions
diff --git a/2022/organizers-notebook.md b/2022/organizers-notebook.md
index 5577e8fb..c2849cc7 100644
--- a/2022/organizers-notebook.md
+++ b/2022/organizers-notebook.md
@@ -2312,7 +2312,7 @@ Probably focus on grabbing the audio first and seeing what&rsquo;s worth keeping
Make a table of the form
-<table id="org46d7f0c" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
+<table id="org1c3f0f6" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
@@ -3926,8 +3926,6 @@ chatter in the other lists Cc&rsquo;d on this message. Thank you.
data=prerec-wait-new.data
touch check-new-prerecs.data
- prerecs_number_current="$(TERM=xterm ssh orga@media.emacsconf.org -- ls -1 /srv/upload | wc -l)"
-
plural() {
if [ "$2" = 1 ] || [ "$2" = -1 ]; then
echo "${1}"
@@ -3947,11 +3945,12 @@ chatter in the other lists Cc&rsquo;d on this message. Thank you.
notify-send -t 0 "EmacsConf" "$1"
}
- prerecs_number_past=$(cat check-new-prerecs.data)
- diff=$((prerecs_number_current - prerecs_number_past))
-
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))
+
while [ $diff = 0 ]; do
sleep "$sleep_duration"
done
diff --git a/2022/organizers-notebook/index.org b/2022/organizers-notebook/index.org
index 89dc1c4b..9d80af36 100644
--- a/2022/organizers-notebook/index.org
+++ b/2022/organizers-notebook/index.org
@@ -3388,8 +3388,6 @@ sleep_duration=1800
data=prerec-wait-new.data
touch check-new-prerecs.data
-prerecs_number_current="$(TERM=xterm ssh orga@media.emacsconf.org -- ls -1 /srv/upload | wc -l)"
-
plural() {
if [ "$2" = 1 ] || [ "$2" = -1 ]; then
echo "${1}"
@@ -3409,11 +3407,12 @@ notify() {
notify-send -t 0 "EmacsConf" "$1"
}
-prerecs_number_past=$(cat check-new-prerecs.data)
-diff=$((prerecs_number_current - prerecs_number_past))
-
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))
+
while [ $diff = 0 ]; do
sleep "$sleep_duration"
done