diff --git a/bash-refine.sh b/bash-refine.sh index afe206f..af11c16 100644 --- a/bash-refine.sh +++ b/bash-refine.sh @@ -1,5 +1,5 @@ #!/bin/bash -# bash-refine v1.3.3: bash-refine.sh, Felix Lohmeier, 2020-09-07 +# bash-refine v1.3.4: bash-refine.sh, Felix Lohmeier, 2020-11-02 # https://gist.github.com/felixlohmeier/d76bd27fbc4b8ab6d683822cdf61f81d # license: MIT License https://choosealicense.com/licenses/mit/ @@ -150,7 +150,7 @@ function refine_store { # check if project contains at least one row (may be skipped to gain ~40ms) local rows rows=$(curl -fs --get \ - --data project="${projects[$p]}" \ + --data project="${projects[$1]}" \ --data limit=0 \ "${endpoint}/command/core/get-rows" \ | tr "," "\n" | grep total | cut -d ":" -f 2) diff --git a/minimal.sh b/minimal.sh index f6db020..8d0ee4f 100755 --- a/minimal.sh +++ b/minimal.sh @@ -1,5 +1,5 @@ #!/bin/bash -# bash-refine v1.3.3: minimal.sh, Felix Lohmeier, 2020-09-07 +# bash-refine v1.3.4: minimal.sh, Felix Lohmeier, 2020-11-02 # https://gist.github.com/felixlohmeier/d76bd27fbc4b8ab6d683822cdf61f81d # license: MIT License https://choosealicense.com/licenses/mit/ diff --git a/templates.sh b/templates.sh index 902b46e..bb90230 100755 --- a/templates.sh +++ b/templates.sh @@ -1,5 +1,5 @@ #!/bin/bash -# bash-refine v1.3.3: templates.sh, Felix Lohmeier, 2020-09-07 +# bash-refine v1.3.4: templates.sh, Felix Lohmeier, 2020-11-04 # https://gist.github.com/felixlohmeier/d76bd27fbc4b8ab6d683822cdf61f81d # license: MIT License https://choosealicense.com/licenses/mit/