aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/02_server-name.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/02_server-name.patch')
-rw-r--r--debian/patches/02_server-name.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/02_server-name.patch b/debian/patches/02_server-name.patch
new file mode 100644
index 0000000..50c9a91
--- /dev/null
+++ b/debian/patches/02_server-name.patch
@@ -0,0 +1,19 @@
+--- a/src/uccs-server.c
++++ b/src/uccs-server.c
+@@ -20,6 +20,7 @@
+ #include "config.h"
+ #endif
+
++#include <glib.h>
+ #include <glib/gi18n.h>
+
+ #include <json-glib/json-glib.h>
+@@ -734,6 +735,8 @@
+ argv[1] = server->username;
+ argv[2] = NULL;
+
++ g_setenv("SERVER_ROOT", server->parent.uri, TRUE);
++
+ g_spawn_async_with_pipes(NULL, /* pwd */
+ (gchar **)argv,
+ NULL, /* env */