[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
@@ -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!