- improvement: changed injection of VARs to *.ins files

This commit is contained in:
DT Netsolution GmbH 2012-01-27 02:35:40 +01:00
parent d52859597e
commit 96103b2d05

View File

@ -161,8 +161,11 @@ builder_package() {
echo >>$var_file echo >>$var_file
# add the new vaiables to all *.ins winst files # add the new vaiables to all *.ins winst files
for ins_file in `find ${PRODUCT_DIR}/CLIENT_DATA -type f -name "*.ins"` ; do for inst_file in `find ${inst_dir}/CLIENT_DATA -type f -name "*.ins"` ; do
cat $var_file $ins_file >${inst_dir}/CLIENT_DATA/`basename $ins_file` sed -i -e "/@@BUILDER_VARIABLES@@/ {
r "$var_file"
d
}" $inst_file
done done
# replace variables from OPSI control # replace variables from OPSI control