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 set -e
TOPDIR=$1 TOPDIR=$1
if test -z "TOPDIR"; then if test -z "$TOPDIR"; then
TOPDIR=$(pwd) TOPDIR=$(pwd)
fi fi
BLFS_FULL=$2 BLFS_FULL=$2
if test -z "BLFS_FULL"; then if test -z "$BLFS_FULL"; then
BLFS_FULL=${TOPDIR}/blfs-xml/tmp/blfs-full.xml BLFS_FULL=${TOPDIR}/blfs-xml/tmp/blfs-full.xml
fi fi
declare -r ConfigFile="${TOPDIR}/configuration" declare -r ConfigFile="${TOPDIR}/configuration"