[chk_deployed_ids] Fixed bug where the path in the database would include the TARGET

This commit is contained in:
ayakael 2019-04-09 19:29:04 -04:00
parent c014f7ee2b
commit 4318ea9622
Signed by untrusted user who does not match committer: forge
GPG key ID: D62A472A4AA7D541

View file

@ -20,6 +20,7 @@ chk_deployed_ids() {
local COUNT=0 local COUNT=0
for flac in ${flacList[@]}; do for flac in ${flacList[@]}; do
local flac=$(sed 's|${TARGET}/||' <<< ${flac})
local COUNT=$(( ${COUNT} + 1 )) local COUNT=$(( ${COUNT} + 1 ))
local ERR=false local ERR=false
echo "[ ${COUNT} / ${#flacList[@]} ] Checking ${flac}" echo "[ ${COUNT} / ${#flacList[@]} ] Checking ${flac}"