From 2557eec3e98a906eff4cc1b715b5c7b76c79d9c1 Mon Sep 17 00:00:00 2001 From: redxef Date: Mon, 29 Aug 2022 22:12:03 +0200 Subject: [PATCH] Fix syntax of out command. --- src/out | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/out b/src/out index 081b965..a6db122 100755 --- a/src/out +++ b/src/out @@ -17,8 +17,8 @@ if [ -n "$additional_tags" ]; then if ! [ -e "$additional_tags" ]; then fail "additional_tags specified, but doesn't exist" fi - tr ' \n\t' '\n\n\n' | grep -v '^$' | while read -r tag; do - crane tag "$REPOSITORY:@$(cat "$image_refs_file)" "$tag" + tr '[:space:]' '\n' | grep -v '^$' | while read -r tag; do + crane tag "$REPOSITORY:@$(cat "$image_refs_file")" "$tag" done fi