Now test not only if $DI_DIR is not empty, but also if it is a real dir.
This was not the case in the powerpc builds, and thus the build failed.
This commit is contained in:
parent
75b9f25cc5
commit
25b483599a
|
@ -16,7 +16,7 @@ CDDIR=$2
|
|||
INSTALLDIR=$CDDIR/install
|
||||
if [ "$DI_WWW_HOME" = "default" ];then
|
||||
DI_WWW_HOME="http://people.debian.org/~luther/d-i/images/daily"
|
||||
if [ -n "$DI_DIR" ];then
|
||||
if [ -d "$DI_DIR" ];then
|
||||
DI_DIR="$DI_DIR/~${DI_WWW_HOME#*~}"
|
||||
DI_WWW_HOME=""
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue