catalyst-auto: standardize indentation

This file uses tabs in most of it, so migrate the few funcs using
spaces over to tabs.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2020-05-31 12:32:02 -04:00
parent 5bfe6e81dc
commit cfc55d1712

View file

@ -71,10 +71,10 @@ run_cmd() {
shift
echo "*** Running command: $*" &>> "${logfile}"
if [ $verbose = 2 ]; then
if [[ ${verbose} == 2 ]]; then
echo "*** Running command: $*"
"$@" 2>&1 | tee -a "${logfile}"
elif [ $verbose = 1 ]; then
elif [[ ${verbose} == 1 ]]; then
echo "*** Running command: $*"
"$@" &>> "${logfile}"
else
@ -167,8 +167,8 @@ parse_args() {
give_latest_from_dates() {
sed 's,-20,~20,g' | \
sort -k +1 -n -t '~' |\
awk -F\~ \
sort -k +1 -n -t '~' | \
awk -F'~' \
'BEGIN{i=$1; o=$0};
{ if($1 != i && i != "") { print o; }; i=$1; o=$0; }
END { print o; };' | \