Browse Source

branches/zip:

Remove unnecessary code. Environment variables are passed to children anyway,
no need to export them.

Approved by:	Sunny (via IM)
pull/374/head
vasil 18 years ago
parent
commit
6162deb677
  1. 18
      scripts/build-plugin.sh

18
scripts/build-plugin.sh

@ -34,24 +34,6 @@ strlen()
echo $STRLEN
}
# Set to dummy value if not defined
: ${CC="x"}
: ${CXX="x"}
# Export CC and CXX, so that dynconfig can generate the correct
# configure parameters.
if [ "${CC}" != "x" ]; then
export CC
else
CC=
fi
if [ "${CXX}" != "x" ]; then
export CXX
else
CXX=
fi
INNODIR="storage/innobase"
DYNTMPFILE="/tmp/configure.$$"
DYNCONFIG="$INNODIR/scripts/dynconfig"

Loading…
Cancel
Save