Commit 9bbc8876 authored by Simon Kelley's avatar Simon Kelley

Fix shell scripting bug in bug scripts.

parent 3268e90f
......@@ -37,6 +37,9 @@ version 2.60
itself as 100% CPU use. Thanks to Chris Moore for finding
this.
Fix shell-scripting bug in bld/pkg-wrapper. Thanks to
Mark Mitchell for the patch.
version 2.59
Fix regression in 2.58 which caused failure to start up
......
......@@ -3,8 +3,8 @@
search=$1
shift
if grep "^\#[[:space:]]*define[[:space:]]*$search" config.h 2>&1 >/dev/null || \
grep $search 2>&1 >/dev/null ; then
if grep "^\#[[:space:]]*define[[:space:]]*$search" config.h >/dev/null 2>&1 || \
grep $search >/dev/null 2>&1; then
exec $*
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment