#!/bin/bash -xe __copy_necessary_binaries() { echo "add necessary files." ## ex) ## ide_root_path_name=IDE ## cp -rf ~~~~/file.file ${INSTALL_DIR}/${ide_root_path_name}/ ## cp -rf ${SRCDIR}/packager/common/data/* ${INSTALL_DIR}/ } __set_parameter() { echo "TARGET_OS : ${TARGET_OS}" case ${TARGET_OS} in ubuntu-32|ubuntu-64) pde_path=${ROOTDIR}/indigo-pde ;; windows-32|windows-64) pde_path=${ROOTDIR}/indigo-winpde ;; macos-64) pde_path=${ROOTDIR}/indigo-macpde ;; *) echo "${TARGET_OS} is not support yet." exit 1 ;; esac build_script_path=${pde_path}/pde_build } # clean clean() { echo "=========================================CLEAN============================================" __set_parameter ${build_script_path}/clean.sh ${package_name} } # build build() { echo "=========================================BUILD============================================" pkgname_and_platform_list=`awk 'BEGIN{RS="\n\n"; FS="\n"} /Package:/{for(i=1;i