From 2751905f1d8a00a5b513c60835fcd24b2739a3a1 Mon Sep 17 00:00:00 2001 From: KhalilSantana Date: Thu, 13 Oct 2022 16:51:15 -0300 Subject: [PATCH] Fixes a bad grep pattern caused by dffd6e0 Fixes #233 --- scripts/beesd.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/beesd.in b/scripts/beesd.in index 765896e..174bb6c 100755 --- a/scripts/beesd.in +++ b/scripts/beesd.in @@ -31,7 +31,7 @@ help(){ exec "$bees_bin" --help } -for i in $("$bees_bin" --help 2>&1 | grep -E "--" | sed -e "s/^[^-]*-/-/" -e "s/,[^-]*--/ --/" -e "s/ [^-]*$//") +for i in $("$bees_bin" --help 2>&1 | grep -E " --" | sed -e "s/^[^-]*-/-/" -e "s/,[^-]*--/ --/" -e "s/ [^-]*$//") do TMP_ARGS="$TMP_ARGS $i" done