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