diff --git a/BLFS/libs/func_dependencies b/BLFS/libs/func_dependencies index 5e3abe3..f92e298 100644 --- a/BLFS/libs/func_dependencies +++ b/BLFS/libs/func_dependencies @@ -277,15 +277,16 @@ tree_erase() { # local file=$1 local f local -a rootlink -local -a rootlink2 +local rootlink2 #echo file=$file rootlink=($(head -n1 $file)) for f in $(grep '[^0-9 ]' $file | sed 's/.* //'); do # echo " f"=$f if [ -f ${f}.dep ]; then - rootlink2=($(head -n1 ${f}.dep)) - if [[ "${rootlink2[*]}" =~ "${rootlink[*]}" ]] ; then + rootlink2="$(head -n1 ${f}.dep) " +# See comment above about srootlink + if [[ "${rootlink2#"${rootlink[*]} " != ${rootlink2} ]] ; then tree_erase ${f}.dep fi fi diff --git a/README.CUSTOM b/README.CUSTOM index 171449d..00a05e8 100644 --- a/README.CUSTOM +++ b/README.CUSTOM @@ -200,7 +200,7 @@ xEOFx PKG="gpm" PKG_VERSION="1.20.1" -PKG_FILE="gmp-1.20.1.tar.bz2" +PKG_FILE="gpm-1.20.1.tar.bz2" URL="ftp://arcana.linux.it/pub/gpm/gpm-1.20.1.tar.bz2" MD5="2c63e827d755527950d9d13fe3d87692" for i in PATCH{1..10}; do