From 5f1cba53378685d9a618e132afcef889a0682ef7 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Wed, 29 Apr 2020 14:33:47 +0200 Subject: [PATCH] Revert "fix: Remove english shell dependency in manage.sh script" This reverts commit 7b9c8f777b9390fa915c365d785f07afd067f0e2. --- manage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manage.sh b/manage.sh index 6c609ec1..a450c6df 100755 --- a/manage.sh +++ b/manage.sh @@ -270,6 +270,6 @@ Commands " } -[ "$(sed -rn 's/^([^ ]+)\(\) \{$/\1/p' manage.sh | grep "$ACTION")" = "" ] \ +[ "$(command -V "$ACTION" | grep ' function$')" = "" ] \ && help "action not found" \ || "$ACTION" "$2"