~mil/mepo-devel

mepo_ui_menu_user_pin_updater.sh: fix == in place of = v1 APPLIED

lpt: 1
 mepo_ui_menu_user_pin_updater.sh: fix == in place of =

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~mil/mepo-devel/patches/40842/mbox | git am -3
Learn more about email & git

[PATCH] mepo_ui_menu_user_pin_updater.sh: fix == in place of = Export this patch

== doesn't work on POSIX sh
---
 scripts/mepo_ui_menu_user_pin_updater.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/mepo_ui_menu_user_pin_updater.sh b/scripts/mepo_ui_menu_user_pin_updater.sh
index 2cb56b3..29d2f76 100755
--- a/scripts/mepo_ui_menu_user_pin_updater.sh
+++ b/scripts/mepo_ui_menu_user_pin_updater.sh
@@ -72,7 +72,7 @@ getcoords() {

droppin() {
  SOURCEANDCOORDS="$(getcoords)"
  [ $? == 1 ] && return
  [ $? = 1 ] && return
  SOURCE="$(echo "$SOURCEANDCOORDS" | cut -d ' ' -f1)"
  COORDS="$(echo "$SOURCEANDCOORDS" | cut -d ' ' -f2-3)"
  LAT="$(echo $SOURCE | cut -d " " -f1)"
-- 
2.40.1
Applied - thanks!