diff options
| author | Simon Rettberg | 2016-10-18 14:20:21 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2016-10-18 14:20:21 +0200 |
| commit | 9880003a2e5642bfdbff1fcff74cca66d93a8f33 (patch) | |
| tree | 75d3874c1bca623407b482b635e505addb08e13e /remote/modules/debug-report-bwlp/module.build | |
| parent | [xorg] Include wacom drivers, support Ubuntu 16.04 (diff) | |
| download | tm-scripts-9880003a2e5642bfdbff1fcff74cca66d93a8f33.tar.gz tm-scripts-9880003a2e5642bfdbff1fcff74cca66d93a8f33.tar.xz tm-scripts-9880003a2e5642bfdbff1fcff74cca66d93a8f33.zip | |
[debug-report-bwlp] Revive old debug reporting script
Diffstat (limited to 'remote/modules/debug-report-bwlp/module.build')
| -rw-r--r-- | remote/modules/debug-report-bwlp/module.build | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/remote/modules/debug-report-bwlp/module.build b/remote/modules/debug-report-bwlp/module.build new file mode 100644 index 00000000..1be608b8 --- /dev/null +++ b/remote/modules/debug-report-bwlp/module.build @@ -0,0 +1,23 @@ +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() { + : +} |
