add the possibility to add extra options to the extract process for ex passwort; overwrite; ....

This commit is contained in:
Mario Fetka
2013-03-28 14:38:45 +01:00
parent 5ccde1ef58
commit d1019ad6b3
2 changed files with 11 additions and 8 deletions

View File

@@ -202,9 +202,11 @@ builder_create() {
DL_EXTRACT_PATH[$i]=${INST_DIR}/CLIENT_DATA/${DL_ARCH[$i]}/${DL_EXTRACT_TO[$i]}
local format=${DL_EXTRACT_FORMAT[$i]}
if [ -z "$format" ] ; then format="cp"; fi
local option=${DL_EXTRACT_OPTION[$i]}
if [ -z "$option" ] ; then option=""; fi
mkdir -p ${DL_EXTRACT_PATH[$i]}
process_file $format ${DL_DIST_FILE[$i]} ${DL_EXTRACT_PATH[$i]}
process_file $format ${DL_DIST_FILE[$i]} ${DL_EXTRACT_PATH[$i]} $option
done
# create winst variables