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:
Sven Luther 2005-09-20 14:55:36 +00:00
parent 75b9f25cc5
commit 25b483599a
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ CDDIR=$2
INSTALLDIR=$CDDIR/install INSTALLDIR=$CDDIR/install
if [ "$DI_WWW_HOME" = "default" ];then if [ "$DI_WWW_HOME" = "default" ];then
DI_WWW_HOME="http://people.debian.org/~luther/d-i/images/daily" 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_DIR="$DI_DIR/~${DI_WWW_HOME#*~}"
DI_WWW_HOME="" DI_WWW_HOME=""
fi fi