6 SCRIPT_PATH=`realpath $0`
7 TOOL_PATH=`dirname "$SCRIPT_PATH"`
8 ICN_PATH=`dirname $TOOL_PATH`
9 # Get into workspace directory, we run every following command from the workspace directory
12 mkdir -p $ICN_PATH/apt/deb/
14 # Call scripts to collect everything from Internet,
15 # all the collected files need to be put under ICN_PATH
16 for collect_sh in `find icn/ -name collect_*.sh | sort`; do
17 collect_parent=`dirname $collect_sh`
19 bash `basename $collect_sh` $ICN_PATH