From 431d1be850f63185adc6eb5fe3cd834ae0554a74 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sun, 4 Aug 2019 18:52:13 +0200 Subject: [PATCH] Add wrapper to clean install go binaries Signed-off-by: Knut Ahlers --- bin/spawn_gotool | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 bin/spawn_gotool diff --git a/bin/spawn_gotool b/bin/spawn_gotool new file mode 100755 index 0000000..04acc4f --- /dev/null +++ b/bin/spawn_gotool @@ -0,0 +1,18 @@ +#!/bin/bash +set -euo pipefail + +PKG=${1:-} + +[[ -n ${PKG} ]] || { + echo "Usage: $0 " >&2 + exit 1 +} + +cat -s <