Correct initialisation of variables

in gen_pkg_book.sh
This commit is contained in:
Pierre Labastie 2012-02-25 17:36:48 +00:00
parent 2180d05288
commit d8add36def

View file

@ -7,11 +7,11 @@
set -e
TOPDIR=$1
if test -z "TOPDIR"; then
if test -z "$TOPDIR"; then
TOPDIR=$(pwd)
fi
BLFS_FULL=$2
if test -z "BLFS_FULL"; then
if test -z "$BLFS_FULL"; then
BLFS_FULL=${TOPDIR}/blfs-xml/tmp/blfs-full.xml
fi
declare -r ConfigFile="${TOPDIR}/configuration"