From 8790bb9eca0bcab985e01e780820be660145725f Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Sun, 29 Jan 2012 10:37:05 +0100 Subject: [PATCH] move distfile var to right location --- lib/builder-targets.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/builder-targets.sh b/lib/builder-targets.sh index aa0e4ad..8fb3ad8 100644 --- a/lib/builder-targets.sh +++ b/lib/builder-targets.sh @@ -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]}