summaryrefslogtreecommitdiffstats
path: root/core/modules/debug-report-bwlp/module.build
blob: 50a3a7ab751e1d17c838b061577a354596f06288 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
fetch_source() {
	:
}

build() {

	for BIN in $REQUIRED_BINARIES; do
		OPT="${BIN:0:1}"
		[[ "$BIN" == @* ]] && BIN=$(echo "$BIN" | cut -c 2-)
		BIN_LOCATION=$(which ${BIN})
		if [ ! -z ${BIN_LOCATION} -a -e ${BIN_LOCATION} ]; then
			tarcopy "$(get_link_chain ${BIN_LOCATION})" "${MODULE_BUILD_DIR}"
		elif [ "$OPT" != "@" ]; then
			perror "'${BIN}' not found on system."
		else
			pwarning "'${BIN}' not found on the system."
		fi
	done
}

post_copy() {
	:
}