summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-11-28 09:18:15 +0000
committerng0 <ng0@n0.is>2019-11-28 09:18:15 +0000
commit2889b023ff826452128bda422fcff545e2c47155 (patch)
tree3916fa0b7ca9f800c6f9d9a7c93a196b31c4b159
parent023159cac94b2166eac66d35dd72fa072c419ac7 (diff)
remove some output redirections.
-rwxr-xr-xcontrib/scripts/gnunet-bugreport11
1 files changed, 3 insertions, 8 deletions
diff --git a/contrib/scripts/gnunet-bugreport b/contrib/scripts/gnunet-bugreport
index 6759c21c0..21808273a 100755
--- a/contrib/scripts/gnunet-bugreport
+++ b/contrib/scripts/gnunet-bugreport
@@ -61,7 +61,7 @@ os_check()
# awk isn't there it can't be found.
awk_check()
{
- if test -z "`type awk 2>&1 | awk '/not found/'`"; then
+ if test -z "`type awk | awk '/not found/'`"; then
infomsg "awk : Found"
else
warningmsg "awk : Not found!"
@@ -403,7 +403,7 @@ libunistring_check()
gnugettext_check()
{
- TEST=`type gettext | awk '/not found/' 2> /dev/null`
+ TEST=`type gettext | awk '/not found/'`
if test -z "$TEST"; then
if test -n "$(gettext --version 2>&1 | awk '/unknown option/')"; then
infomsg "GNU gettext : Not found"
@@ -416,7 +416,7 @@ gnugettext_check()
gettext_check()
{
- if test -n "`type getext 2>/dev/null`"; then
+ if test -z "`type getext | awk '/not found/'`"; then
infomsg "gettext : Found"
else
infomsg "gettext : Not Found"
@@ -448,7 +448,6 @@ gnurl_curl_check()
libmicrohttpd_check()
{
- # TMPFILE=`mktemp /tmp/mhd-version-testXXXXXX`
TMPFILE="bugreport-test_lmhd.c"
cat - >$TMPFILE <<EOF
#include <microhttpd.h>
@@ -474,7 +473,6 @@ EOF
glpk_check()
{
- # TMPFILE=`mktemp /tmp/glpk-version-testXXXXXX`
TMPFILE="bugreport-glpk_check.c"
cat - >$TMPFILE <<EOF
#include <glpk.h>
@@ -500,7 +498,6 @@ EOF
gnutls_check()
{
- # TMPFILE=`mktemp /tmp/gnutls-version-testXXXXXX`
TMPFILE="bugreport-gnutls_check.c"
cat - >$TMPFILE <<EOF
#include <gnutls/gnutls.h>
@@ -532,8 +529,6 @@ main()
echo "CPPFLAGS='-I/usr/pkg/include' LDFLAGS='-L/usr/pkg/lib' ${progname}"
return 0
fi
- #echo $LDFLAGS
- #echo $CPPFLAGS
infomsg "${progname} 0.11.0"
infomsg
infomsg "Please submit the following"