summaryrefslogtreecommitdiff
path: root/src/util/sync-config
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-09-17 10:51:02 +0200
committerChristian Grothoff <christian@grothoff.org>2021-09-17 10:51:02 +0200
commit960ab5516bdfa9bedc79b7e62fea9fcc4dd3db58 (patch)
tree36300fc6510b6b3b0de82e3bd7ab6f12cb7178a7 /src/util/sync-config
parent6bccda792e3709e5f730b6b2360aa268f4c8d7e2 (diff)
downloadsync-960ab5516bdfa9bedc79b7e62fea9fcc4dd3db58.tar.gz
sync-960ab5516bdfa9bedc79b7e62fea9fcc4dd3db58.tar.bz2
sync-960ab5516bdfa9bedc79b7e62fea9fcc4dd3db58.zip
-fix sync-config and service file
Diffstat (limited to 'src/util/sync-config')
-rw-r--r--src/util/sync-config17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/util/sync-config b/src/util/sync-config
deleted file mode 100644
index 6184167..0000000
--- a/src/util/sync-config
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env bash
-
-set -eu
-
-if ! type gnunet-config >/dev/null; then
- echo "$0 needs gnunet-config to be installed"
- exit 1
-fi
-
-# FIXME: not very portable ...
-# FIXME: should use "libdir" instead of prefix/lib, but somehow
-# the recursive expansion does not work ;-(.
-GC=`which gnunet-config`
-ASAN=""
-A=`ldd $GC | grep libasan` && ASAN=`echo $A | awk '{print $3 ":"}'`
-export LD_PRELOAD=${ASAN}${LD_PRELOAD:-}:/home/grothoff/lib/libsyncutil.so
-exec gnunet-config "$@"