From 6ab60d4920bb3199aee8cd872b930e9e3e808ba7 Mon Sep 17 00:00:00 2001 From: Nils Gillmann Date: Sat, 19 May 2018 14:43:13 +0000 Subject: Restructure contrib folder. contrib/pogen.sh -> bin/pogen.sh bootstrap: Use new pogen location and execute it. contrib/openvpn-tap32: Move to contrib/3rdparty/Windows/openvpn-tap32. contrib/gnunet-logo*: Move to contrib/branding/logo/ Delete old patches in contrib, predating git. Move buildbot data to contrib/ci/buildbot, move docker data to contrib/ci/docker. Create contrib/conf and populate it with config files found in contrib and bin. Move gns related data to contrib/gns. delete contrib/repeat.sh Move contrib/log.php into contrib/web/log.php. Create folder contrib/scripts and use it for most scripts in contrib. Remove trailing whitespace in doc/Makefile.am Signed-off-by: Nils Gillmann --- contrib/debug | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100755 contrib/debug (limited to 'contrib/debug') diff --git a/contrib/debug b/contrib/debug deleted file mode 100755 index 3de2c9a14..000000000 --- a/contrib/debug +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash -# /proc/sys/kernel/core_pattern should be core.%p.%E - -COREPID=$1 - -COREFILES=`ls -1 *core.$COREPID* 2>/dev/null | wc -l` -COREFILE=`ls -1 *core.$COREPID* 2>/dev/null | head -n 1` - -if [ $COREFILES -gt 1 ]; then - echo "Multiple files, using $COREFILE" -fi - - -if [ $COREFILES -eq 0 ]; then - SERVICENAME=$1 - COREFILES=`ls -1 core.*.*$SERVICENAME 2>/dev/null | wc -l` - COREFILE=`ls -1 core.*.*$SERVICENAME 2>/dev/null | head -n 1` - - if [ $COREFILES -gt 1 ]; then - echo "Multiple files, using $COREFILE" - fi -fi - -if [ $COREFILES -eq 0 ]; then - echo "Core file for $1 not found" - exit 1 -fi - -echo "Using $COREFILE" - -EXECPATH=${COREFILE#*!} -EXECPATH=`echo $EXECPATH | sed -e 's/!/\//g'` -echo $EXECPATH -echo "" -echo "" - -gdb --core $COREFILE /$EXECPATH -- cgit v1.2.3