From 834594e2178eec1d0d9d35257005a51de0223153 Mon Sep 17 00:00:00 2001 From: ayakael Date: Sat, 7 Apr 2018 12:56:46 -0400 Subject: [PATCH] [db_set] Fixed typo in awk command --- src/db_set | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db_set b/src/db_set index 847afc1..eaefd2e 100644 --- a/src/db_set +++ b/src/db_set @@ -27,7 +27,7 @@ db_set() { # Determines which IMAGEIDs present in the DB_FILE match the CONDITION local COUNT=1 - local dbimageidList=$(awk 'BEGIN{FS="\t"}{if($1!="LAST_DEPLOY" && $1!="LAST_UPDATE" && $!="null"){print $2}}' ${DB_FILE} | awk '!seen[$0]++') + local dbimageidList=$(awk 'BEGIN{FS="\t"}{if($1!="LAST_DEPLOY" && $1!="LAST_UPDATE" && $1!="null"){print $2}}' ${DB_FILE} | awk '!seen[$0]++') for dbimageid in ${dbimageidList[@]}; do local MTAG="$(printf "${GIT_DIR}/%s.tags" ${dbimageid})" local MATCH="$(grep -i -l "\"${FIELD}\" : \"${VALUE}\"" "${MTAG}")"