From 8a2a3dd93e8ea2ef0b3be29fc2daf5b63032b61a Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Tue, 22 Nov 2022 22:41:39 +0800 Subject: [PATCH] Update build scripts --- bin/openring-create | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/bin/openring-create b/bin/openring-create index f1c94df..ed0d4ad 100644 --- a/bin/openring-create +++ b/bin/openring-create @@ -67,14 +67,7 @@ while [[ "$#" -gt 0 ]]; do esac done -# Checks whether it is locally compiled or not. -if [[ -a ./openring ]]; then - OPENRING="./openring/openring"; -else - OPENRING="openring"; -fi - -OPENRING="$OPENRING $OPENRING_ARGS"; +OPENRING="openring $OPENRING_ARGS"; for feed in $(jq ".[]" "$DATA" | shuf --head-count $LIMIT); do OPENRING="$OPENRING -s $feed";