package_version=`grep "Version" ${builder_path}/metadata/*`
ide_version=`echo $package_version | cut -f 2 -d":"`
- echo $ide_version
sed -e "s;\(^Version:\).*;\1${ide_version};g" < $metadata_path/pkginfo.manifest > $metadata_path/pkginfo.manifest.new
mv ${metadata_path}/pkginfo.manifest ${metadata_path}/pkginfo.manifest.bak
mv ${metadata_path}/pkginfo.manifest.new ${metadata_path}/pkginfo.manifest
echo "Create package for install manager..."
mkdir -p $build_path/packaging/data
cp -rf $build_result_path/eventinjector $build_path/packaging/data/
+ mv $build_path/packaging/data/eventinjector $build_path/packaging/data/IDE
cp -rf $metadata_path/* $build_path/packaging
cd $build_path/packaging