boot-x86: Stop global replace on $ARCH
This commit is contained in:
parent
7531d32437
commit
0224aa50f4
|
@ -116,10 +116,10 @@ for image in $BOOT_IMAGES; do
|
||||||
cp "${LOCALDEBS:-$MIRROR}/dists/$DI_DIST/local/installer-$THIS_ARCH/current/images/$image_in" "$image"
|
cp "${LOCALDEBS:-$MIRROR}/dists/$DI_DIST/local/installer-$THIS_ARCH/current/images/$image_in" "$image"
|
||||||
elif [ ! "$DI_WWW_HOME" ];then
|
elif [ ! "$DI_WWW_HOME" ];then
|
||||||
if [ ! "$DI_DIR" ];then
|
if [ ! "$DI_DIR" ];then
|
||||||
DI_DIR="$MIRROR/dists/$DI_DIST/main/installer-$THIS_ARCH/current/images"
|
DI_DIR="$MIRROR/dists/$DI_DIST/main/installer-%ARCH%/current/images"
|
||||||
fi
|
fi
|
||||||
DI_DIR_i386=$(echo $DI_DIR | sed 's/amd64/i386/g')
|
DI_DIR_i386=$(echo $DI_DIR | sed 's/%ARCH%/i386/g')
|
||||||
DI_DIR_amd64=$(echo $DI_DIR | sed 's/i386/amd64/g')
|
DI_DIR_amd64=$(echo $DI_DIR | sed 's/%ARCH%/amd64/g')
|
||||||
THIS_DI_DIR=DI_DIR_${THIS_ARCH}
|
THIS_DI_DIR=DI_DIR_${THIS_ARCH}
|
||||||
cp "${!THIS_DI_DIR}/$image_in" "$image"
|
cp "${!THIS_DI_DIR}/$image_in" "$image"
|
||||||
else
|
else
|
||||||
|
|
|
@ -116,10 +116,10 @@ for image in $BOOT_IMAGES; do
|
||||||
cp "${LOCALDEBS:-$MIRROR}/dists/$DI_DIST/local/installer-$THIS_ARCH/current/images/$image_in" "$image"
|
cp "${LOCALDEBS:-$MIRROR}/dists/$DI_DIST/local/installer-$THIS_ARCH/current/images/$image_in" "$image"
|
||||||
elif [ ! "$DI_WWW_HOME" ];then
|
elif [ ! "$DI_WWW_HOME" ];then
|
||||||
if [ ! "$DI_DIR" ];then
|
if [ ! "$DI_DIR" ];then
|
||||||
DI_DIR="$MIRROR/dists/$DI_DIST/main/installer-$THIS_ARCH/current/images"
|
DI_DIR="$MIRROR/dists/$DI_DIST/main/installer-%ARCH%/current/images"
|
||||||
fi
|
fi
|
||||||
DI_DIR_i386=$(echo $DI_DIR | sed 's/amd64/i386/g')
|
DI_DIR_i386=$(echo $DI_DIR | sed 's/%ARCH%/i386/g')
|
||||||
DI_DIR_amd64=$(echo $DI_DIR | sed 's/i386/amd64/g')
|
DI_DIR_amd64=$(echo $DI_DIR | sed 's/%ARCH%/amd64/g')
|
||||||
THIS_DI_DIR=DI_DIR_${THIS_ARCH}
|
THIS_DI_DIR=DI_DIR_${THIS_ARCH}
|
||||||
cp "${!THIS_DI_DIR}/$image_in" "$image"
|
cp "${!THIS_DI_DIR}/$image_in" "$image"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue