From a011bed9b8f7d4d75d0cf3a8f8c70abb3e3fa9aa Mon Sep 17 00:00:00 2001 From: Miles Alan Date: Tue, 30 Jun 2020 19:26:46 -0500 Subject: [PATCH] Ensure shellcheck passes --- scripts/core/sxmo_appmenu.sh | 2 +- scripts/core/sxmo_gpsutil.sh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/core/sxmo_appmenu.sh b/scripts/core/sxmo_appmenu.sh index 9ddbfcc..7337cb2 100755 --- a/scripts/core/sxmo_appmenu.sh +++ b/scripts/core/sxmo_appmenu.sh @@ -267,7 +267,7 @@ mainloop() { ) & wait } -pgrep -f "$(which sxmo_appmenu.sh)" | grep -Ev "^${$}$" | xargs kill -TERM +pgrep -f "$(command -v sxmo_appmenu.sh)" | grep -Ev "^${$}$" | xargs kill -TERM DMENUIDX=0 PICKED="" ARGS="$*" diff --git a/scripts/core/sxmo_gpsutil.sh b/scripts/core/sxmo_gpsutil.sh index fa4d3af..4be4c24 100755 --- a/scripts/core/sxmo_gpsutil.sh +++ b/scripts/core/sxmo_gpsutil.sh @@ -102,10 +102,10 @@ gpslatlonset() { killexistingfoxtrotgps st -e sh -c " - gsettings set org.foxtrotgps global-zoom "$ZOOM"; - gsettings set org.foxtrotgps global-x "$X"; - gsettings set org.foxtrotgps global-y "$Y"; - foxtrotgps --lat="$LAT" --lon="$LON" + gsettings set org.foxtrotgps global-zoom $ZOOM; + gsettings set org.foxtrotgps global-x $X; + gsettings set org.foxtrotgps global-y $Y; + foxtrotgps --lat=$LAT --lon=$LON " & } gpsgeoclueset() {