From 0c93539e382dc062a659390cebf32a835dbbe02d Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Mon, 17 Feb 2020 22:32:48 +0100 Subject: [PATCH] added "install it" target --- emulator/gnt-cluster | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emulator/gnt-cluster b/emulator/gnt-cluster index d4a46eb..75194fb 100755 --- a/emulator/gnt-cluster +++ b/emulator/gnt-cluster @@ -26,6 +26,10 @@ elif [ "$op" = "copyfile" ] ; then rsync $1 lib10:$1 rsync $1 lib20:$1 +elif [ "$op" = "install" ] ; then # use as "install it" since needs install command and arg + + ln -sfv `pwd`/gnt-cluster /usr/local/bin/ + else echo "UNKNOWN [$op] $*" exit 1 -- 2.20.1