From fc9e67a6403df05fcd6804472582c913d93a1514 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 11 Jul 2023 08:21:38 +0530 Subject: clean up: move to /bin/sh, probably used bash for testing --- redditorsbtfo.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redditorsbtfo.sh b/redditorsbtfo.sh index ae0b892..4798d7f 100755 --- a/redditorsbtfo.sh +++ b/redditorsbtfo.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh data_dir="data" @@ -100,7 +100,7 @@ get_subs_v2() if [ -n "$data" ]; then page=$((page + 1)) - [ "$(echo "$data" | jq -r '.next')" == "null" ] && + [ "$(echo "$data" | jq -r '.next')" = "null" ] && break; fi -- cgit v1.2.3