From a615ef3eaef22acf4a21df1cbb39dfdfc33bf5e8 Mon Sep 17 00:00:00 2001 From: sev Date: Mon, 20 Apr 2020 03:19:08 -0500 Subject: [PATCH] link src/docker-abuild/dabuild -> bin/ if present --- install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install.sh b/install.sh index 1316d74..0d51072 100755 --- a/install.sh +++ b/install.sh @@ -47,6 +47,11 @@ l() { find base -mindepth 1 -maxdepth 1 | while read -r x; do l "$HOME/`basename "$x"`" done +# requires existing source tree and `make dabuild` +x="$HOME/src/docker-abuild/dabuild" +if [ -e "$x" ]; then + l "$HOME/bin/`basename "$x"`" "$x" +fi find bin share -mindepth 1 -maxdepth 1 | while read -r x; do l "$HOME/$x" done -- 2.47.0