blob: 0e40389a44212266b7d44caf9b8cc81dabb0c458 [file] [log] [blame]
#!/bin/bash
echo "Generate additional products"
pwd
exec 2>&1
set -e
set -x
cp Installer.p2.inf Installer-With-JRE.p2.inf
sed -e 's/uid="\([^"]*\)"/uid="\1.with-jre"/;s/<!--//;s/-->//' < Installer.product > Installer-With-JRE.product
for i in Installer Installer-With-JRE; do
echo $i;
cp $i.p2.inf $i-Restricted.p2.inf
sed -e 's/uid="\([^"]*\)"/uid="\1.restricted"/' < $i.product > $i-Restricted.product
done