From 7c75f6ccd6c70da2718eb6f0a7bf88fb7abeeda7 Mon Sep 17 00:00:00 2001 From: Zergling_man Date: Fri, 29 Nov 2024 17:55:59 +1100 Subject: [PATCH] oyeah I should add these things sometimes --- swat-codegen/PKGBUILD | 2 +- swat-codegen/armour | 2 +- swat-codegen/codegen.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/swat-codegen/PKGBUILD b/swat-codegen/PKGBUILD index 2c183be..5c37f65 100644 --- a/swat-codegen/PKGBUILD +++ b/swat-codegen/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Zergling_man, from fedora.email pkgname=swat-codegen -pkgver=1.0.6 +pkgver=1.0.8 pkgrel=1 pkgdesc="A simple CLI interface to RCPDv3, the rank code management service for the game SWAT: Aftermath" arch=('any') diff --git a/swat-codegen/armour b/swat-codegen/armour index 4ce8582..5ad4a6b 100644 --- a/swat-codegen/armour +++ b/swat-codegen/armour @@ -1,4 +1,4 @@ Light Medium m Heavy h -Advanced Cyborg Watchman +Advanced Cyborg Watchman a diff --git a/swat-codegen/codegen.sh b/swat-codegen/codegen.sh index 4efe657..8c65ed1 100755 --- a/swat-codegen/codegen.sh +++ b/swat-codegen/codegen.sh @@ -67,7 +67,7 @@ function save if [ -n "$2" ]; then name=',"buildName":"'"${*:2}"'"'; fi res=`post rank-code '{"rankCode":"'$1'"'"$name"'}'` jq <<< "$res" - if [ -z "`jq -r '.buildName // ""' <<< $"res"`" ]; then delete_code $1; fi # Don't bother storing any build that doesn't have a name. Assume it's just logging the results of a game. + if [ -z "`jq -r '.buildName // ""' <<< "$res"`" ]; then delete_code $1; fi # Don't bother storing any build that doesn't have a name. Assume it's just logging the results of a game. } function generate