move distfile var to right location

This commit is contained in:
Mario Fetka 2012-01-29 10:37:05 +01:00
parent 2f44e3864c
commit 8790bb9eca

View File

@ -188,8 +188,8 @@ builder_create() {
# copy binaries
distfile=${DIST_FILE[$i]}
for (( i = 0 ; i < ${#SOURCE[@]} ; i++ )) ; do
distfile=${DIST_FILE[$i]}
if [ ! -z "${INSTALL[$i]}" ] ; then
mkdir -p $INST_DIR/CLIENT_DATA/${ARCH[$i]}/${EXTRACTTO[$i]}
extract_file ${DIST_FILE[$i]} $INST_DIR/CLIENT_DATA/${ARCH[$i]}/${EXTRACTTO[$i]}