- improvement: changed injection of VARs to *.ins files
This commit is contained in:
parent
d52859597e
commit
96103b2d05
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user