Correct initialisation of variables
in gen_pkg_book.sh
This commit is contained in:
parent
2180d05288
commit
d8add36def
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
|
Reference in a new issue