summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorIrina Gómez <irinagomez@us.es>2019-07-26 11:59:24 +0200
committerIrina Gómez <irinagomez@us.es>2019-07-26 11:59:24 +0200
commit71b93c5dcad2e0f4f5a324e79d02dda510b664a6 (patch)
treeb496c285a8de02cff4ae3be70c0ec28b285fa849 /server
parentc0c7fa311f4dfc9da58a30fcb94b323bf458ff32 (diff)
Fixs multicast error: create 'read' alias defining line break character as default delimiter.
Diffstat (limited to 'server')
-rwxr-xr-xserver/lib/osadapter.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/lib/osadapter.sh b/server/lib/osadapter.sh
new file mode 100755
index 00000000..aa3c4774
--- /dev/null
+++ b/server/lib/osadapter.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+# Funciones o configuración para la compatibilidad con Ubuntu 18 en el servidor.
+set -a
+shopt -s expand_aliases
+alias read='read -d\n'