fix variable in refine_store
This commit is contained in:
parent
b2a0697a46
commit
c4e250b452
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/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
|
# https://gist.github.com/felixlohmeier/d76bd27fbc4b8ab6d683822cdf61f81d
|
||||||
# license: MIT License https://choosealicense.com/licenses/mit/
|
# 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)
|
# check if project contains at least one row (may be skipped to gain ~40ms)
|
||||||
local rows
|
local rows
|
||||||
rows=$(curl -fs --get \
|
rows=$(curl -fs --get \
|
||||||
--data project="${projects[$p]}" \
|
--data project="${projects[$1]}" \
|
||||||
--data limit=0 \
|
--data limit=0 \
|
||||||
"${endpoint}/command/core/get-rows" \
|
"${endpoint}/command/core/get-rows" \
|
||||||
| tr "," "\n" | grep total | cut -d ":" -f 2)
|
| tr "," "\n" | grep total | cut -d ":" -f 2)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/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
|
# https://gist.github.com/felixlohmeier/d76bd27fbc4b8ab6d683822cdf61f81d
|
||||||
# license: MIT License https://choosealicense.com/licenses/mit/
|
# license: MIT License https://choosealicense.com/licenses/mit/
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/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
|
# https://gist.github.com/felixlohmeier/d76bd27fbc4b8ab6d683822cdf61f81d
|
||||||
# license: MIT License https://choosealicense.com/licenses/mit/
|
# license: MIT License https://choosealicense.com/licenses/mit/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue